Arguments used with KeysRequiredEvent
Inheritance: System.EventArgs
 private void OnKeysRequired(string fileName)
 {
     if (this.KeysRequired != null)
     {
         KeysRequiredEventArgs e = new KeysRequiredEventArgs(fileName, this.key);
         this.KeysRequired(this, e);
         this.key = e.Key;
     }
 }
Exemple #2
0
 /// <summary>
 /// Handles getting of encryption keys when required.
 /// </summary>
 /// <param name="fileName">The file for which encryptino keys are required.</param>
 void OnKeysRequired(string fileName)
 {
     if (KeysRequired != null)
     {
         KeysRequiredEventArgs krea = new KeysRequiredEventArgs(fileName, key);
         KeysRequired(this, krea);
         key = krea.Key;
     }
 }
Exemple #3
0
		/// <summary>
		/// Handles getting of encryption keys when required.
		/// </summary>
		/// <param name="fileName">The file for which encryption keys are required.</param>
		void OnKeysRequired(string fileName)
		{
			if (KeysRequired != null) {
				KeysRequiredEventArgs krea = new KeysRequiredEventArgs(fileName, key);
				KeysRequired(this, krea);
				key = krea.Key;
			}
		}
Exemple #4
0
 private void OnKeysRequired(string fileName)
 {
     if (this.KeysRequired != null)
     {
         KeysRequiredEventArgs e = new KeysRequiredEventArgs(fileName, this.key);
         this.KeysRequired(this, e);
         this.key = e.Key;
     }
 }