-
Notifications
You must be signed in to change notification settings - Fork 0
Web Resource
Adrien Castex edited this page May 30, 2016
·
3 revisions
- Namespace : HarkLib.Net
- File : HarkLib.Net.dll
A web resource is a directory or a file accessible by an interface similar to Apache Directory. This class will allow the user to browse and download files.
It is very easy to use :
WebDirectory wd = new WebDirectory("...url...");
Console.WriteLine("Directories : ");
foreach(var w in wd.Directories)
Console.WriteLine(w.Name + " :: " + w.Url);
Console.WriteLine("Files : ");
foreach(var w in wd.Files)
Console.WriteLine(w.Name + " :: " + w.Url);
Console.WriteLine("Directories & Files : ");
foreach(var w in wd.Resources)
Console.WriteLine(w.Name + " :: " + w.Url);
The access to Directories
, Files
and Resources
is lazy. So, if you
need only one directory, you will not have to parse the whole content.
Documentation
- HarkLib.Parsers.Generic.dll
- HarkLib.Parsers.dll
- HarkLib.Security.dll
- HarkLib.Core.dll
- HarkLib.Net.dll
Classes
- HarkLib.Parsers.Generic
- HarkLib.Parsers
- HarkLib.Security
- HarkLib.Core
- HarkLib.Net