Ejemplo n.º 1
0
 /// <summary>
 /// Loads persistent keys from a file asynchronously. 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 async Task <string[]> LoadPersistentAsync(string filename)
 {
     return(await NtCore.LoadPersistentAsync(filename).ConfigureAwait(false));
 }