PC Review


Reply
Thread Tools Rate Thread

Distinguishing calling app type from class

 
 
Not Important
Guest
Posts: n/a
 
      28th May 2009
Is there a way to determine from a class library whether the calling
application was ASP.NET or Winforms? I would like to have a global variable
(which would have to be session state in ASP or Static in WinForm) that I
could access from within the class, but would have to know what type of app
called the class in order to know what to look for. Thanks in advance for
any help on this one.

bh


 
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
Distinguishing calling app type from class Not Important Microsoft Dot NET Framework Forms 0 28th May 2009 03:36 AM
Distinguishing calling app type from class Not Important Microsoft ASP .NET 0 28th May 2009 03:36 AM
Distinguishing calling app type from class Not Important Microsoft ASP .NET 0 28th May 2009 03:36 AM
Get Calling Class type in base clases static method. parez Microsoft C# .NET 1 22nd Nov 2006 08:49 PM
Calling Class Type =?Utf-8?B?YWNn?= Microsoft C# .NET 3 6th Dec 2003 07:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:29 AM.