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