public async Task TestLogout() { FMS18 fms2 = new FMS18(address, user, pw); fms2.SetFile(file); var token2 = await fms2.Authenticate(); int result = await fms2.Logout(); Assert.Equal(0, result); }
public Form1() { InitializeComponent(); fmServer = new FMS18(server, userName, password); relativePath = new Uri(Directory.GetCurrentDirectory()).LocalPath.Replace("bin", "").Replace("Debug", "").Replace(@"\\", @"\"); }