Hi
I need a web service on my server for getting filelist to client, but i have no clue how to create a webservice, I have the (I think) code that needs to be on server.
Is it a windows service (c#) I should create or...
and what is "HTC" do i need it
[WebMethod]
Public string[] fileList(string pathToFiles)
{
string[] files = System.IO.Directory.GetFiles(pathToFiles, "*.*", SearchOption.AllDirectories)
return files;
}
The code above need to be a webservice on my server.