PtiTom

Batch - Ajouter un en-tête descriptif au déclenchement.

Jan 21st, 2019
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [assembly: AssemblyTitle("SetMePlease")]
  2. [assembly: AssemblyDescription("SetMePlease")]
  3. [assembly: AssemblyCompany("SetMePlease")]
  4.  
  5. [assembly: AssemblyVersion("1.0.*")]
  6. [assembly: AssemblyFileVersion("1.0.0.0")]
  7.  
  8. var currentProperties = FileVersionInfo.GetVersionInfo(Assembly.GetEntryAssembly().Location);
  9. Trace.TraceInformation("{0} : {1}, version : {2}, {3}"
  10.     , currentProperties.FileName
  11.     , currentProperties.Comments
  12.     , currentProperties.ProductVersion
  13.     , currentProperties.LegalCopyright);
  14.  
  15. /*
  16.     <system.diagnostics>
  17.         <trace>
  18.             <listeners>
  19.                 <add name="TraceToConsole" type="System.Diagnostics.ConsoleTraceListener" />
  20.             </listeners>
  21.         </trace>
  22.     </system.diagnostics>
  23. */
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×