private static void TestValidServerName() { try { ServerName remoteServer = new ServerName(Environment.MachineName); Logger.LogDebug(string.Format("Server name {0} is valid", Environment.MachineName)); } catch (Exception ex) { Logger.LogError(string.Format("Server name {0} seems to be invalid", Environment.MachineName), ex); } ConsoleTest.GetNextInput("Press Enter to end test"); }
public UncPath(ServerName remoteServer, ShareName shareName, SubDirectory subDirectory) { _remoteServer = remoteServer; _shareName = shareName; _subDirectory = subDirectory; }
public UncPath(ServerName remoteServer, ShareName shareName) { _remoteServer = remoteServer; _shareName = shareName; }