Feedback fixes
This commit is contained in:
parent
4de74dcea7
commit
acb9445b4b
11 changed files with 132 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue