Jump to content

SystemInfo.CanSelfRestart


Recommended Posts

Posted

Did I jump the gun?  Couldn't find this property on the latest nuget package.

Posted

I'm hoping the service restart will work out, but I'm adding this to SystemInfo to avoid the assumption and allow it to be toggled easily. It will probably be handy on other operating systems as well.

 

So you should always check this before using the api to restart the server. The server will throw an error if you try to restart it and this value is false.

Posted

I'm adding it now.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...