pinging
pinging
pinging
pinging
pinging
pinging
pinging
pinging
pinging
pinging
Run-time exception (line 37): One or more errors occurred.
Stack Trace:
[System.Security.SecurityException: Request for the permission of type 'System.Net.NetworkInformation.NetworkInformationPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Net.NetworkInformation.Ping.SendAsync(IPAddress address, Int32 timeout, Byte[] buffer, PingOptions options, Object userToken)
at System.Net.NetworkInformation.Ping.SendAsync(IPAddress address, Int32 timeout, Object userToken)
at System.Net.NetworkInformation.Ping.SendPingAsyncCore(Action`1 sendAsync)
at Program.<DoAsyncThing>d__0.MoveNext() :line 12
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Program.<ProcessAll>d__7.MoveNext() :line 30
[System.AggregateException: One or more errors occurred.]
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Program.Main() :line 37