public static void SignOut() { m_Instance = new ApplicationIdentity(); WebServiceAccount blankWebServiceAccount = new WebServiceAccount(); blankWebServiceAccount.IsKnown = false; m_Instance.WebServiceAccount = blankWebServiceAccount; }
public LocalFile(RemoteFile remoteFile, Identity.WebServiceAccount webServiceAccount) { this.m_FullPath = System.IO.Path.Combine(webServiceAccount.LocalFileDownloadDirectory, remoteFile.FileName); this.m_MemoryStream = remoteFile.MemoryStream; }
public RemoteFile(LocalFile localFile, Identity.WebServiceAccount webServiceAccount) { this.m_FullPath = System.IO.Path.Combine(webServiceAccount.RemoteFileUploadDirectory, localFile.FileName); this.m_MemoryStream = localFile.MemoryStream; }