# RWS C# wrapper

**URL:** https://tech-community.robotics.abb.com/t/rws-c-wrapper/9206
**Category:** Developer Tools
**Created:** [November 15, 2019, 1:43pm UTC](https://tech-community.robotics.abb.com/t/rws-c-wrapper/9206 "2019-11-15T13:43:42Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Pavel\_Riabichev](https://avatars.discourse-cdn.com/v4/letter/p/8e7dd6/32.png) [@Pavel\_Riabichev](https://tech-community.robotics.abb.com/u/Pavel_Riabichev)
#### Post date: [November 15, 2019, 1:43pm UTC](https://tech-community.robotics.abb.com/t/rws-c-wrapper/9206/1 "2019-11-15T13:43:42Z")

</div>

Hello

Here is my Robot Web Services C# wrapper for RobotWare 6  
[https://github.com/Pavpavp/RobotWebServices](https://github.com/Pavpavp/RobotWebServices)

Many but not all calls are yet included.  
Planning to add support for RobotWare 7 & subscriptions.

Feel free to push more calls that are missing.

---

<div class="post-metadata">

### Author: ![Pavel\_Riabichev](https://avatars.discourse-cdn.com/v4/letter/p/8e7dd6/32.png) [@Pavel\_Riabichev](https://tech-community.robotics.abb.com/u/Pavel_Riabichev)
#### Post date: [November 22, 2019, 9:18am UTC](https://tech-community.robotics.abb.com/t/rws-c-wrapper/9206/2 "2019-11-22T09:18:50Z")

</div>

Added support for IO subscriptions  
[https://github.com/Pavpavp/RobotWebServices/blob/master/Readme.md](https://github.com/Pavpavp/RobotWebServices/blob/master/Readme.md)

---

<div class="post-metadata">

### Author: ![David\_Lanham](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@David\_Lanham](https://tech-community.robotics.abb.com/u/David_Lanham)
#### Post date: [March 27, 2020, 11:59pm UTC](https://tech-community.robotics.abb.com/t/rws-c-wrapper/9206/3 "2020-03-27T23:59:08Z")

</div>

I am trying to load your wrapper in VS 2019, but I get this error because it does not have a reference to the ABB PC SDK dll. When I try and add the reference to the dll that you have in your bin folder it gives me this error.

 ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/2/2b825c1a64335b9d3de5212dd8d534c2ba7aed4c.jpeg)

Any ideas why it cant load the file? I have tried going to back to VS 2017, but there is even more errors?

---

<div class="post-metadata">

### Author: ![Pavel\_Riabichev](https://avatars.discourse-cdn.com/v4/letter/p/8e7dd6/32.png) [@Pavel\_Riabichev](https://tech-community.robotics.abb.com/u/Pavel_Riabichev)
#### Post date: [March 30, 2020, 7:59am UTC](https://tech-community.robotics.abb.com/t/rws-c-wrapper/9206/4 "2020-03-30T07:59:15Z")

</div>

Hello David  
You should install PCSDK from [http://developercenter.robotstudio.com/landing](http://developercenter.robotstudio.com/landing) and then ref the dlls in C:\Program Files (x86)\ABB\SDK\PCSDK 7.0  
Then rebuild.  
/Pavel

---

<div class="post-metadata">

### Author: ![Markus\_Naslund](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@Markus\_Naslund](https://tech-community.robotics.abb.com/u/Markus_Naslund)
#### Post date: [April 20, 2020, 7:20pm UTC](https://tech-community.robotics.abb.com/t/rws-c-wrapper/9206/5 "2020-04-20T19:20:57Z")

</div>

Hi Pavel,  
I have tried using your wrapper and I can make it work for reading RAPID values, but when I try to request mastership i get a response 415 Unsupported Media Type.  
Do you have any idea what I am doing wrong?

Best regards  
Markus

---

<div class="post-metadata">

### Author: ![Pavel\_Riabichev](https://avatars.discourse-cdn.com/v4/letter/p/8e7dd6/32.png) [@Pavel\_Riabichev](https://tech-community.robotics.abb.com/u/Pavel_Riabichev)
#### Post date: [April 23, 2020, 2:11pm UTC](https://tech-community.robotics.abb.com/t/rws-c-wrapper/9206/6 "2020-04-23T14:11:48Z")

</div>

Hi Markus  
How did you create the controllerSession? Maybe you created an omniCore session for an IRC5 controller?  
They have different media headers.

---

<div class="post-metadata">

### Author: ![DeepakP](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@DeepakP](https://tech-community.robotics.abb.com/u/DeepakP)
#### Post date: [August 21, 2020, 10:18am UTC](https://tech-community.robotics.abb.com/t/rws-c-wrapper/9206/7 "2020-08-21T10:18:21Z")

</div>

ABB PC SDK seems to used only in WpfAppExample for NetworkScanner. So why is this DLL required for RobotWebServices?
