예제 #1
0
 /// <summary>
 /// Loads persistent keys from a file. The server does this automatically.
 /// </summary>
 /// <param name="filename">The file name.</param>
 /// <returns>A List of warnings (errors result in an exception instead.)</returns>
 /// <exception cref="PersistentException">Thrown if there is an error
 /// loading the file.</exception>
 public static string[] LoadPersistent(string filename)
 {
     return(NtCore.LoadPersistent(filename));
 }
예제 #2
0
 public List <string> LoadPersistent(string filename)
 {
     return(NtCore.LoadPersistent(Handle, filename));
 }