Пример #1
0
 public void SessionDisconnect(string bstrUserName, uint dwSessionId)
 {
     if (OnSessionDisconnected != null)
     {
         SensLogon2EventArgs args = new SensLogon2EventArgs();
         args.Username  = bstrUserName;
         args.SessionId = dwSessionId;
         OnSessionDisconnected(this, args);
     }
 }
Пример #2
0
 public void PostShell(string bstrUserName, uint dwSessionId)
 {
     if (OnShellStarted != null)
     {
         SensLogon2EventArgs args = new SensLogon2EventArgs();
         args.Username  = bstrUserName;
         args.SessionId = dwSessionId;
         OnShellStarted(this, args);
     }
 }
Пример #3
0
 public void Logon(string bstrUserName, uint dwSessionId)
 {
     if (OnLogon != null)
     {
         SensLogon2EventArgs args = new SensLogon2EventArgs();
         args.Username  = bstrUserName;
         args.SessionId = dwSessionId;
         OnLogon(this, args);
     }
 }
 public void Logon(string bstrUserName, uint dwSessionId)
 {
     if (OnLogon != null)
     {
         SensLogon2EventArgs args = new SensLogon2EventArgs();
         args.Username = bstrUserName;
         args.SessionId = dwSessionId;
         OnLogon(this, args);
     }
 }
 public void PostShell(string bstrUserName, uint dwSessionId)
 {
     if (OnShellStarted != null)
     {
         SensLogon2EventArgs args = new SensLogon2EventArgs();
         args.Username = bstrUserName;
         args.SessionId = dwSessionId;
         OnShellStarted(this, args);
     }
 }
 public void SessionReconnect(string bstrUserName, uint dwSessionId)
 {
     if (OnSessionReconnected != null)
     {
         SensLogon2EventArgs args = new SensLogon2EventArgs();
         args.Username = bstrUserName;
         args.SessionId = dwSessionId;
         OnSessionReconnected(this, args);
     }
 }