Esempio n. 1
0
 /// <summary>
 /// Constructor with parameters.
 /// </summary>
 /// <param name="proxySession">Sets session id in request way.</param>
 /// <param name="callbackSession">Sets session id in response way.</param>
 public SessionData(AES128_ECB aesAlgorithm, IClientContract proxy, string proxySession, string callbackSession)
 {
     AesAlgorithm      = aesAlgorithm;
     Proxy             = proxy;
     ProxySessionId    = proxySession;
     CallbackSessionId = callbackSession;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor with parameters.
 /// </summary>
 /// <param name="aesAlgorithm">Sets AES algorithm.</param>
 /// <param name="proxy">Sets proxy.</param>
 public SessionData(AES128_ECB aesAlgorithm, IClientContract proxy)
 {
     AesAlgorithm = aesAlgorithm;
     Proxy        = proxy;
 }