I am trying to pull the expiry date of my account from SD so I can create a custom app that will tell me when I am close to renewal. This app will plug into my nagios monitoring app and warn and then alert me when it's close to renewing. I know I may get an email but rather monitor this myself as well. Can someone provide me the base code in C# that would strictly retrieve the date my account will expire from SD?

OK I got it now with a different address however what timezone is the data in? My return value is 2017-09-29T21:18:20Z but when calculating the difference between now, if I include the time need to know the timezone.