Running C# code

Running C# code

What are all the options for calling C# code from a Deluge function? I know there is a C# SDK -- where is the latest documentation on that? If I create my own REST API, how do I configure it to work with OAuth?