Open ArsenShnurkov opened 9 years ago
https://github.com/prepare/HTML-Renderer/blob/master/Source/HtmlRenderer.Demo/Program.cs#L40
the platform can be checked as in this snippet: http://stackoverflow.com/questions/5116977
private static bool IsLinux { get { int p = (int) Environment.OSVersion.Platform; return (p == 4) || (p == 6) || (p == 128); } }
Thank you, I will integrate that to my code.
But please note that my code is not complete :( some functions still use Win32 functions.
ok, i see - https://github.com/prepare/HTML-Renderer/issues/9
https://github.com/prepare/HTML-Renderer/blob/master/Source/HtmlRenderer.Demo/Program.cs#L40
the platform can be checked as in this snippet: http://stackoverflow.com/questions/5116977