public void OpenSession(string sessionKey) { //encrypt login and password string loginName = ""; string pass = ""; getloginAndPass(UserId, ref loginName, ref pass); string _url = getWSUrl(this.Url); this.SessionKey = sessionKey; RevisionLog.Instance.AddRevisionEntry(this.GetType(), "ExtractRevisions", "Session opening: " + sessionKey, LogItemEntryType.Information); RepositoryWebservice repo = new RepositoryWebservice(_url); repo.OpenSession(SessionKey, loginName, pass); repo.Dispose(); }