Ejemplo n.º 1
0
 private AuthentificationDataManager()
 {
     this.bsm = new BinarySerialiserManager<Authentification>();
     this.bsm.FilePath = ApplicationPath.GetApplicationFolder()+@"\"+this.fileConnection;
     Authentification auth = this.bsm.Get();
     if (auth != null)
     {
         this.Authentification = auth;
     }
     else
     {
         this.Authentification = new Authentification();
     }
 }
Ejemplo n.º 2
0
 private OptionsManager()
 {
     this.bsm     = new BinarySerialiserManager <OptionsData>();
     bsm.FilePath = this.filePath;
 }