Exemple #1
0
 /// <summary>
 /// Checks if the given path is a network drive.
 /// </summary>
 /// <param name="path">The path to check.</param>
 /// <returns>
 /// <b>true</b> if is a network drive; otherwise <b>false</b>.
 /// </returns>
 public static bool IsNetworkDrive(string path) => !string.IsNullOrEmpty(path) && RegistryOperations.CheckCurrentUserKey($@"Network\\{path.ToUpperInvariant()[0]}");