I was wondering: How can i determine which authentication method is in use?
For example I want to execute a code if my Authentication is based on FORMS authentication and not if it's WINDOWS Authentication.
You can check what's on the web config using configuration manager
ConfigurationManager.GetSection("system.web/authentication");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With