Intel® Business Client Software Development
Support for Intel® vPro™ software development and the technologies associated with Intel vPro platforms.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

GUI getting stuck

Stephen_Hibbert__Int
78 Views
I've noticed that when I use functions in WSManClient.cs (C#), my application will freeze until the function is done working. For example, if I accidentally type in the wrong IP address and try connecting, my entire application freezes until the WSManClient object times out. The GUI freezes and there's no way for the user to cancel or use other features of the application.

I've tried multithreading to solve this problem, but I end up getting errors afterward when trying to use some functions. Is there any other way to solve this problem?
0 Kudos
2 Replies
Gael_H_Intel
Moderator
78 Views
I've noticed that when I use functions in WSManClient.cs (C#), my application will freeze until the function is done working. For example, if I accidentally type in the wrong IP address and try connecting, my entire application freezes until the WSManClient object times out. The GUI freezes and there's no way for the user to cancel or use other features of the application.

I've tried multithreading to solve this problem, but I end up getting errors afterward when trying to use some functions. Is there any other way to solve this problem?

Hi Stephen - we are looking into this.
Gael_H_Intel
Moderator
78 Views

Hi Stephen - we are looking into this.

Stephen,

Thisis an issue with the Sample GUI and not really an issue with WsManclient.cs itself. WsManClient.cs does block until a call completes but a GUI can deal with this by using completion callbacks or threading.

Reply