Last post Oct 14, 2013 02:32 AM by BetsyASP
Oct 11, 2013 09:58 AM|Dirceu Nascimento|LINK
I tried to use the class SignedXml in the Visual Studio 2008 Express framework, but it don't have this class. I've installed the Service Pack1 and nothing..
Could anyone help me please?
Here is part of the program:
protected void BtnEnviar_Click(object sender, EventArgs e)
// get certificate
// assinar XML
RSACryptoServiceProvider crypto = (RSACryptoServiceProvider)Certif.PrivateKey;
// Create a SignedXml object.
SignedXml signedXml = new
signedXml.SigningKey = crypto;
Reference reference = new
end of program
Thanks in advance!
Bye for now
Oct 11, 2013 03:53 PM|Dirceu Nascimento|LINK
You need to add the reference to System.Security.dll.
See http://msdn.microsoft.com/en-us/library/system.security.cryptography.xml.signedxml.aspx which shows that the assembly is System.Security.dll.
To add reference, click on the root in the Solution Explorer, and select >>Add Reference
Then on the tab .NET look up for System.Security.dll and click Ok
Then Rebuild the solution.
Oct 14, 2013 02:32 AM|BetsyASP|LINK
Oh, you hepled me a lot.