There's nothing in the .NET Framework that does this for you. You have to either write this functionality yourself (bad idea!) or but a 3rd party component that does it. Your application would have to be written with this functionality and security in mind.
There are a bunch of products for this,
here[
^].