protected override void OnStop() { VSUEventLog.WriteEntry(string.Format("Vault Server Utilities v{0} has be shutdown.", ServiceVersion)); }
protected override void OnStart(string[] args) { ServiceVersion = typeof(Program).Assembly.GetName().Version.ToString(); VSUEventLog.WriteEntry(string.Format("Vault Server Utilities v{0} has started successfully.", ServiceVersion)); }