PC Review


Reply
Thread Tools Rate Thread

Chicken & Egg problem.

 
 
=?Utf-8?B?c3BlZWQzMg==?=
Guest
Posts: n/a
 
      7th Feb 2004
Is there a way a .net application (c#) can tell if the .net framework is installed


 
Reply With Quote
 
 
 
 
Bonj
Guest
Posts: n/a
 
      7th Feb 2004
If it's managed to start up, then it presumably will be.

"speed32" <(E-Mail Removed)> wrote in message
news:33D6D428-CA02-434A-8222-(E-Mail Removed)...
> Is there a way a .net application (c#) can tell if the .net framework is

installed.
>
>



 
Reply With Quote
 
David Sworder
Guest
Posts: n/a
 
      7th Feb 2004
The following C# method will tell you if the .NET framework is installed:

public static bool IsFrameworkInstalled{
return true;
}

In other words, if your C# code is executing at all, the framework must be
installed.

--
Sincerely,

David Sworder
http://www.CodeFanatic.com

"speed32" <(E-Mail Removed)> wrote in message
news:33D6D428-CA02-434A-8222-(E-Mail Removed)...
> Is there a way a .net application (c#) can tell if the .net framework is

installed.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning C4251 - Chicken & egg problem Bob Altman Microsoft VC .NET 2 2nd Dec 2008 09:39 PM
ADP - chicken or the egg =?Utf-8?B?UmljaGFyZF9kb2luZ18yMDA3?= Microsoft Access 1 10th Sep 2007 06:41 PM
KeyedCollection in use for GUI editor? Chicken in Egg problem... Brannon Microsoft C# .NET 3 14th Dec 2006 01:38 AM
InternalsVisibleTo chicken and egg problem? Andy Microsoft C# .NET 0 22nd Feb 2006 08:24 PM
Chicken and egg problem with FileIOPermission and Environment.GetFolderPath("My Documents") Phred Menyhert Microsoft Dot NET Framework 0 20th May 2004 11:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:01 AM.