Professional Web Applications Themes

How: Programatically Determine .NET Framework version - ASP.NET General

Hi, Is there a way to obtain the version of .net that my application is riding on (on the server). My app isn't tested nor does it run 100% on V1.1 and for some reason my service provided has upgraded me twice. I'd like my software to be proactive and tell me about it next time they do it. Is there an object that exposes the framework's version? Thanks...

  1. #1

    Default How: Programatically Determine .NET Framework version

    Hi,

    Is there a way to obtain the version of .net that my application is
    riding on (on the server). My app isn't tested nor does it run 100%
    on V1.1 and for some reason my service provided has upgraded me twice.
    I'd like my software to be proactive and tell me about it next time
    they do it.

    Is there an object that exposes the framework's version?

    Thanks
    Ken Guest

  2. #2

    Default Re: Programatically Determine .NET Framework version

    Also, check out Environment.Version:

    Response.Write(Environment.Version.ToString)

    --
    Microsoft MVPs have a question for *you*: Are you patched against the Worm?
    http://www.microsoft.com/security/security_bulletins/ms03-026.asp



    "Ken Stealth" <com> wrote in message
    news:google.com...
    Hi,

    Is there a way to obtain the version of .net that my application is
    riding on (on the server). My app isn't tested nor does it run 100%
    on V1.1 and for some reason my service provided has upgraded me twice.
    I'd like my software to be proactive and tell me about it next time
    they do it.

    Is there an object that exposes the framework's version?

    Thanks


    Ken Guest

  3. #3

    Default Re: Programatically Determine .NET Framework version

    Very good,

    It looks like the Location indicates the ver of the FrameWork?
    Is there anything else that will tell you Your Version Number is 1.1?

    Thanks


    "Ken Cox [Microsoft MVP]" <ca> wrote in message
    news:phx.gbl... 
    what 
    Worm? 


    MS Guest

  4. #4

    Default Re: Programatically Determine .NET Framework version

    That is good
    Thank you
    "Ken Cox [Microsoft MVP]" <ca> wrote in message
    news:es%phx.gbl... 
    Worm? 


    MS Guest

Similar Threads

  1. Acrobat version - programatically
    By palaksha@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 1
    Last Post: October 23rd, 03:06 PM
  2. Programatically determining BootROM version?
    By Sean McBride in forum Mac Programming
    Replies: 5
    Last Post: October 7th, 02:06 AM
  3. Get Framework Version
    By Stephen Brown in forum ASP.NET General
    Replies: 0
    Last Post: August 1st, 02:43 PM
  4. Howdo I determine which version of XP I have?
    By Jerry in forum Windows XP/2000/ME
    Replies: 5
    Last Post: July 21st, 03:28 AM
  5. Determine PageLayout programatically
    By Tim Pacl in forum ASP.NET Building Controls
    Replies: 5
    Last Post: July 14th, 06:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139