21 if (value.Equals(
string.Empty))
25 return value.IndexOf(
'\\') == -1;
39 if (value.Equals(
string.Empty))
43 return value.StartsWith(
"\\\\");
57 if (value.Equals(
string.Empty))
static bool CheckPath(string value)
Checks the syntax of the path to see whether it starts with "\\".
SecurityAction
Specifies the security actions that can be performed using declarative security.
static bool CheckRootedPath(string value)
Checks the syntax of the path to see if it starts with "\" or drive letter "C:".
static bool CheckMachineName(string value)
Checks the syntax of the machine name to confirm that it does not contain "\".
static bool IsPathRooted(string path)
Gets a value indicating whether the specified path string contains a root.
Performs operations on T:System.String instances that contain file or directory path information....
Provides methods to verify the machine name and path conform to a specific syntax....