Can't UseEncryption with MSMQ

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

I'm trying to encrypt the body of my msmq messages by
setting the UseEncryption property on the message. This throws an
exception UnsupportedFormatNameOperation. I'm using msmq for ipc on a
single server, the queues are all private and there is no AD domain -
the server is a member of an NT4 domain. I'm specifying the queue as
".\private$\QueueName" and everything works fine until I enable the
UseEncryption switch.

I haven't been able to find any info in MSDN relating to this; msdn
just says the requirements are the standard platforms (Windows 98,
Windows NT 4.0, etc).

The alternative is to encrypt the data myself prior to sending but that
seems like a lot of effort when UseEncryption should be able to provide
the same functionality.

Any clues would be much appreciated.

Thanks
Dave
 
Did you try to use EncryptionAlgorithm property?

It may be expecting what type of algorithm you want to use.
 
Back
Top