The easiest way to check if a path is an UNC path is of course to check if the first character in the full path is a letter or backslash. Is this a good solution or could th
Try this extension method:
public static bool IsUncPath(this string path) { return Uri.TryCreate(path, UriKind.Absolute, out Uri uri) && uri.IsUnc; }