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(); } }
private OptionsManager() { this.bsm = new BinarySerialiserManager <OptionsData>(); bsm.FilePath = this.filePath; }