How to use Request.ServerVariables in Console Application
Hi all,
Console Application:
I want my console application to do this:
1) Request.ServerVariables("SCRIPT_NAME")
2) Server.Mappath("..")
I don't know how to do this in a C# console application.
Though I used the following to get the Path but, I feel that is not what I wanted to do:
Environment.CurrentDirectory
Please help me on this.
Thanks,