* HttpRuntime.cs: PlatformID.Unix.
svn path=/trunk/mcs/; revision=44281
+2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpRuntime.cs: PlatformID.Unix.
+
2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
public static bool IsOnUNCShare {
get {
// IsUnc broken under unix?
+#if NET_2_0
+ return (Environment.OSVersion.Platform != PlatformID.Unix &&
+#else
return (!((int) Environment.OSVersion.Platform == 128) &&
+#endif
new Uri ("file://" + ClrInstallDirectory).IsUnc);
}
}