How to get the webservice version inside the webservice code ?

G

Gilbert Tordeur

Hello.

Context = VB 2008.

In a WinForm application or in a dll, I just write
My.Application.Info.Version. But in a webservice program, the My.Application
object does not exist. How can I do ?

Thank you in advance,
Gilbert
 
D

dotNetDave

Web sites don't really have a version. If you look at the config file, there
is no version information. You could retrieve the version info from a sub
assembly if you wanted.

David

======================================
David McCarter [Microsoft MVP]
www.dotNetTips.com
David McCarter''s .NET Coding Standards available at:
http://codingstandards.notlong.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top