Advertisement
Guest User

Untitled

a guest
Jan 12th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. public Dictionary<string, string> TracingFailed(string AgentIp, string AgentId, string SessionId)
  2. {
  3.  
  4. Dictionary<string, string> LogData = new Dictionary<string, string>();
  5. LogData.Add("Agent_Id", AgentId);
  6. LogData.Add("login_time", DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"));
  7. LogData.Add("login_response", "Login Successfully");
  8. LogData.Add("SessionId", SessionId);
  9. LogData.Add("IP_Address", AgentIp);
  10. LogData.Add("NLogin_time", DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"));
  11. return LogData;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement