public static void Main()
Console.WriteLine("OS: {0}", Environment.OSVersion.Platform);
Console.WriteLine("IsRooted: {0}", Path.IsPathRooted(@"C:\test\some\file.txt"));
Console.WriteLine("IsRooted: {0}", Path.IsPathRooted(@"\test\some\file.txt"));
Console.WriteLine("IsRooted: {0}", Path.IsPathRooted(@"\\mynetworkshare\test\some\file.txt"));
Console.WriteLine("IsRooted: {0}", Path.IsPathRooted(@"some\file.txt"));
Console.WriteLine("IsRooted: {0}", Path.IsPathRooted(@"..\some\file.txt"));
Console.WriteLine("IsRooted: {0}", Path.IsPathRooted(@".\some\file.txt"));