I\'m new to C#s await/async and currently playing around a bit.
C#
await/async
In my scenario I have a simple client-object which has a WebRequest
WebRequest
Edited as previous answer was wrong:
As it's in the constructor, I think you would have to spin up a new thread for it. I would personally do that using
Task.Factory.StartNew(() => SendAliveMessageAsync());