Ejemplo n.º 1
0
 internal static bool IsUncSharePath(string path)
 {
     return(path.Length > 2 && SecUtility.IsDirectorySeparatorChar(path[0]) && SecUtility.IsDirectorySeparatorChar(path[1]));
 }
Ejemplo n.º 2
0
 internal static bool IsAbsolutePhysicalPath(string path)
 {
     return(path != null && path.Length >= 3 && ((path[1] == ':' && SecUtility.IsDirectorySeparatorChar(path[2])) || SecUtility.IsUncSharePath(path)));
 }