dll and source page origin

  • Thread starter Thread starter pb
  • Start date Start date
P

pb

Hi,

I have a dll that will be licenced to a 3rd party to use on a web
site. Is it possible for the functions in the dll to know the url of
where they were called from?

Basically I will compile each dll individually and want to check that
it is only being used from the url path it was licenced for.

Any ideas or pointers please?

Pb
 
Hi,

I have a dll that will be licenced to a 3rd party to use on a web
site. Is it possible for the functions in the dll to know the url of
where they were called from?

Basically I will compile each dll individually and want to check that
it is only being used from the url path it was licenced for.

Any ideas or pointers please?

Pb

found it :-)

Dim a As String
a = HttpContext.Current.Request.Url.AbsoluteUri
MsgBox(a)
 
Back
Top