Click here to Skip to main content
15,903,684 members
Articles / Web Development / ASP.NET
Alternative
Tip/Trick

How to, using ASP.NET

Rate me:
Please Sign up or sign in to vote.
4.67/5 (3 votes)
30 Nov 2011CPOL 5.7K   3   1
Or you could just loop all environment variables:Dim dictEntry As System.Collections.DictionaryEntryForEach dictEntry In Environment.GetEnvironmentVariables() Response.Write("Key: " & (dictEntry.Key.ToString()) & _ " Value: " & (dictEntry.Value.ToString()))Next

Or you could just loop all environment variables:


VB
Dim dictEntry As System.Collections.DictionaryEntry
ForEach dictEntry In Environment.GetEnvironmentVariables()
    Response.Write("Key: " & (dictEntry.Key.ToString()) & _
        "  Value: " & (dictEntry.Value.ToString()))
Next

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Aurum AS
Norway Norway
Microsoft Certified Solutions Developer (MCSD)

Personal website:
stian.net

My projects:
CRM1.no - A free to use norwegian crm software
Fakturax - A free to use norwegian invoice software
Timeføring.no - A free to use norwegian timereg software
MittUtlegg - A free to use norwegian software for receipts
SupportWeb - A free to use norwegian software customersupport

Comments and Discussions

 
-- No messages could be retrieved (timeout) --