Microsoft.Win32.KeyHandler.SaveRegisteredBootTime C# (CSharp) Méthode

SaveRegisteredBootTime() static private méthode

static private SaveRegisteredBootTime ( string path, long btime ) : void
path string
btime long
Résultat void
		static void SaveRegisteredBootTime (string path, long btime)
		{
			try {
				using (StreamWriter writer = new StreamWriter (path, false, Encoding.ASCII))
					writer.WriteLine (btime.ToString ());
			} catch (Exception e) {
				Console.Error.WriteLine ("While saving registry data at {0}: {1}", path, e);
			}
		}