Hi everyone, in my WPF application I want to have a way to validate if the clientId entered by the user is valid. I'm having trouble as when I call the ArcGISRuntimeEnvironment.Initialize method, I cannot change the clientId after and then reinitialize it again without restarting the application.
Is there a better way to validate the clientId entered by the user ? Or is there any way to release/shutdown the ArcGISRuntimeEnvironment, then set a different ClientId and call Initialize again after ?
Thank you for your responses !
If anyone is interested in this subject, I have found a workaround for my problem. I created an AppDomain each time I wanted to validate the client ID and initialized the Runtime and caught exceptions in case the client ID was not valid then marshalled the return value to my main AppDomain. It's not the easiest solution but it works and it's the only one I found that works 100% of the time.