Example: lr.stop_transaction

The following example stops the collection of transaction data for the Login.

public void Login(string username,string strEncryptPwd)

{

string strDecryptPwd=lr.decrypt(strEncryptPwd);

lr.output_message(strEncryptPwd + " Decrypt :" +strDecryptPwd);

}

 

lr.start_transaction("Test");

...

lr.stop_transaction("Test");

Login("username","password");

lr.resume_transaction("Test");