Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
     fmServer     = new FMS18(server, userName, password);
     relativePath = new Uri(Directory.GetCurrentDirectory()).LocalPath.Replace("bin", "").Replace("Debug", "").Replace(@"\\", @"\");
 }