PlaybackSettings.SetEncryptionKeyLocation Method
Defines the location and the size of the encryption keys.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Sub SetEncryptionKeyLocation ( _
keyLocation As String, _
keySize As Integer _
)
public void SetEncryptionKeyLocation(
string keyLocation,
int keySize
)
public:
void SetEncryptionKeyLocation(
String^ keyLocation,
int keySize
)
member SetEncryptionKeyLocation :
keyLocation:string *
keySize:int -> unit
public function SetEncryptionKeyLocation(
keyLocation : String,
keySize : int
)
Parameters
- keyLocation
Type: System.String
Path of the encryption key.
- keySize
Type: System.Int32
Length of the encryption key.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.