예제 #1
0
 public override string ToString()
 {
     if (!IsInvalid && !IsClosed)
     {
         if (Win32NativeMethods.RpcBindingToStringBinding(handle, out SafeRpcStringHandle str) == 0)
         {
             using (str) {
                 return(str.ToString());
             }
         }
     }
     return(string.Empty);
 }