MessageCertificate.Encrypt Method (String)
Encrypts data using the certificate.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public virtual byte[] Encrypt(
string data
)
public:
virtual array<unsigned char>^ Encrypt(
String^ data
)
Public Overridable Function Encrypt (
data As String
) As Byte()
Parameters
data
Type: System.StringThe data to encrypt.
Return Value
Type: System.Byte[]
See Also
Encrypt Overload
MessageCertificate Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top