all groups > asp.net building controls > october 2003 >
You're in the

asp.net building controls

group:

How can I access the ProductName, ProductVersion, ExecutablePath, CompanyName from a ASP.NET Application in a Control?


How can I access the ProductName, ProductVersion, ExecutablePath, CompanyName from a ASP.NET Application in a Control? IgorW
10/29/2003 1:05:57 PM
asp.net building controls:
Re: How can I access the ProductName, ProductVersion, ExecutablePath, CompanyName from a ASP.NET Application in a Control? Nicole Calinoiu
10/30/2003 2:16:28 PM
For a page with code-behind:

this.Page.GetType().BaseType.Assembly.GetCustomAttributes(...

For a page without code-behind, I'm guessing that the BaseType would be
omitted, but you can test that as easily as I can...

HTH,
Nicole

AddThis Social Bookmark Button