- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Stephen Hibbert (Intel)
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?
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Gael Holmes (Intel)
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page