CodeCarvings.Piczard
EncryptString(String,String) Method
See Also  Send Feedback
CodeCarvings.Piczard.Helpers Namespace > SecurityHelper Class > EncryptString Method : EncryptString(String,String) Method

str
The string to encrypt.
key
The encryption key to use to encrypt the string.
Encrypts a string by using the current default encryption key.

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function EncryptString( _
   ByVal str As String, _
   ByVal key As String _
) As String
C#  
public static string EncryptString( 
   string str,
   string key
)

Parameters

str
The string to encrypt.
key
The encryption key to use to encrypt the string.

Return Value

The encrypted string.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.