Nate Zaugg
Nate Zaugg

Reputation: 4218

Is there any way to sign an XDocument?

I would like to sign my XDocument XML document (to verify it later on). Is there any way to sign an XDocument or do you have to convert it to an XmlDocument?

http://www.west-wind.com/weblog/posts/257599.aspx

Upvotes: 4

Views: 2110

Answers (1)

Sjoerd
Sjoerd

Reputation: 75568

Maybe you can use the SignedXml.LoadXml method to initialize a SignedXml with the XML from the XDocument, instead of from an XmlDocument.

Upvotes: 2

Related Questions