Пример #1
0
 /// <summary>
 /// Export the given registry key to a text stream
 /// </summary>
 /// <param name="key">Registry key previously imported (or constructed in memory)</param>
 /// <param name="file">Output text stream</param>
 /// /// <param name="options">Export options</param>
 public void Export(RegKeyEntry key, TextWriter file, RegFileExportOptions options)
 {
     file.WriteLine(Header);
     file.WriteLine();
     key.WriteRegFileFormat(file, options);
 }
 /// <summary>
 /// Export the given registry key to a text stream
 /// </summary>
 /// <param name="key">Registry key previously imported (or constructed in memory)</param>
 /// <param name="file">Output text stream</param>
 /// /// <param name="options">Export options</param>
 public void Export(RegKeyEntry key, TextWriter file, RegFileExportOptions options)
 {
     file.WriteLine(Header);
     file.WriteLine();
     key.WriteRegFileFormat(file, options);
 }