SHARE
TWEET

Untitled

a guest Feb 20th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @functions
  2. {
  3.     protected override void OnInit()
  4.     {
  5.         Console.WriteLine($"OS: {RuntimeInformation.OSDescription} {RuntimeInformation.OSArchitecture}");
  6.         Console.WriteLine($"Processor: {RuntimeInformation.ProcessArchitecture}");
  7.  
  8.         Console.WriteLine($"Timezone is {TimeZoneInfo.Local}");
  9.         Console.WriteLine($"Date time is {DateTime.Now}");
  10.     }
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top