10 references to Utility
System.ServiceModel (10)
System\ServiceModel\Channels\PipeConnection.cs (1)
2494
return System.ServiceModel.Activation.
Utility
.GetLogonSidForPid(pid);
System\ServiceModel\Channels\SharedConnectionListener.cs (9)
26
using Utility = System.ServiceModel.Activation.
Utility
;
552
listenerUniqueSid =
Utility
.GetWindowsServiceSid(serviceName);
565
listenerPid =
Utility
.GetPidForService(serviceName);
574
listenerUserSid =
Utility
.GetUserSidForPid(listenerPid);
583
listenerUniqueSid =
Utility
.GetLogonSidForPid(listenerPid);
596
EndpointAddress epa = new EndpointAddress(
Utility
.FormatListenerEndpoint(this.serviceName,
672
myUserSid =
Utility
.GetUserSidForPid(myPid);
1592
Utility
.AddRightGrantedToAccount(new SecurityIdentifier(grantedSid), ListenerUnsafeNativeMethods.PROCESS_DUP_HANDLE);
1604
Utility
.RemoveRightGrantedToAccount(new SecurityIdentifier(grantedSid), ListenerUnsafeNativeMethods.PROCESS_DUP_HANDLE);