Feedback fixes

This commit is contained in:
vfedosevich 2014-12-24 04:33:00 -08:00
parent 4de74dcea7
commit acb9445b4b
11 changed files with 132 additions and 32 deletions

View file

@ -165,6 +165,20 @@ namespace WebsitePanel.Providers.RemoteDesktopServices
return new string[]{};
}
public bool CheckRDSServerAvaliable(string hostname)
{
bool result = false;
var ping = new Ping();
var reply = ping.Send(hostname, 1000);
if (reply.Status == IPStatus.Success)
{
result = true;
}
return result;
}
#endregion
#region RDS Collections