5 internal static class Program
8 /// The main entry point for the application.
11 private static void Main()
13 using (LanSpider spider
= new LanSpider(NetworkBrowser
.Instance
))
17 Console
.WriteLine("Found {0} computers in network.", spider
.NumComputers
);
18 Console
.WriteLine("{0} shares known.", spider
.NumKnownShares
);
19 Console
.WriteLine("Have {0} shares to index.", spider
.NumAvailableShares
);
21 spider
.IndexUnknownShares();
22 spider
.IndexKnownAvailableShares();
26 Console
.WriteLine("{0}", ex
);