Exemple #1
0
 public override string ToString()
 {
     if (!IsInvalid && !IsClosed)
     {
         if (Rpcrt4.RpcBindingToStringBinding(handle, out SafeRpcStringHandle str) == 0)
         {
             using (str)
             {
                 return(str.ToString());
             }
         }
     }
     return(string.Empty);
 }
Exemple #2
0
 protected override bool ReleaseHandle()
 {
     return(Rpcrt4.RpcStringFree(ref handle) == 0);
 }
Exemple #3
0
 protected override bool ReleaseHandle()
 {
     return(Rpcrt4.RpcMgmtEpEltInqDone(ref handle) == 0);
 }