The System.Messaging.MessageQueue class does not provide a way to set ownership of queue. How do I programmatically set the owner of a MSMQ message queue?
The System.Messaging.MessageQueue class does not provide a way to set ownership of queue. How
Share
The short answer is to p/invoke a call to the windows api function
MQSetQueueSecurityA complete class which defines a
SetOwnerextension method onSystem.Messaging.MessageQueuecan be found on github