Change value of a signal from C# app

I need to read and change the value of a digital signal in my C#app and send it back to the controller