Beispiel #1
0
 private int Service(int timeout)
 {
     if (timeout < 0)
     {
         throw new ArgumentOutOfRangeException(string.Format("timeout: {0}", timeout));
     }
     return(NativeMethods.EnetHostService(this.host, null, (uint)timeout));
 }