Sunday, January 22, 2006
« Save TreeView Nodes Expansion / Collapse... | Main | Object Data Source Exception Trapping an... »

I am working on a control that passes a small amount of encrypted data in the url. No need to encrypt it while running under the local Visual Studio Web Server. You can check to see if 

System.Diagnostics.Process.GetCurrentProcess().MainModule.ModuleName

returns 'WebDev.WebServer.EXE'. Cool little piece of code. Full details on Steven Smith's blog:

http://aspadvice.com/blogs/ssmith/

kick it on DotNetKicks.com   Sunday, January 22, 2006 2:12:09 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  | 
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview