Example: lr.stop_transaction

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

public void Login(string username,string strMaskPwd)

{

string strUnmaskPwd=lr.unmask(strMaskPwd);

lr.output_message(strMaskPwd + "Unmask :" +strUnmaskPwd);

}

 

lr.start_transaction("Test");

...

lr.stop_transaction("Test");

Login("username","password");

lr.resume_transaction("Test");