Why must you use Windows API? That defeats the reason for using .NET when there is already managed classes capable of doing what you want.
On Oct 21, 1:49 am, Muhammad Arif <[email protected]> wrote: > Hello all : > I am checking URL validation for this purpose i have > used window api PathIsURL but its return type is long.. from which i > can't know that what is the HttpStatusCode ... > > i need httpstatus code.. as i have already get true and false from > it.. but i need httpstatuscode from it// > so my question is that how can i get httpStatusCode from PathIsURL > > Note: > I have already used HttpRequest and HttpResponse but i want > to do it through windows api..
