public void Load() { if (!Initialized) { keyEncryption.CreateNewKeyPair(this); } }
public void Load() { if (Available) { using (var sr = File.OpenText(FileName)) { keyEncryption.ImportFromXml(this, sr.ReadToEnd()); } } else if (CreateIfNotExist) { keyEncryption.CreateNewKeyPair(this); } }