Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.81 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ServerFTP_IO
  8. {
  9.     class Client
  10.     {
  11.         private string username;
  12.         private string password;
  13.    
  14.  
  15.         private bool auth;
  16.         private bool accessgranted;
  17.  
  18.        
  19.  
  20.         public Client(string username)
  21.         {
  22.             this.Username = username;
  23.             this.Auth = false;
  24.             this.Accessgranted = false;
  25.         }
  26.  
  27.         public string Username { get => username; set => username = value; }
  28.         public string Password { get => password; set => password = value; }
  29.         public bool Auth { get => auth; set => auth = value; }
  30.         public bool Accessgranted { get => accessgranted; set => accessgranted = value; }
  31.     }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement