blah blah blah is here! blah blah » Close

0
votes
1 answers

Find newest file in large directory

Hello, I have a directory with 100.000 files. I just want to find the newest file in this directory the fastest way possible. All code that is reading all files first is to slow (so far) for this, is there any fast way to do this? (u ...

0
votes
0 answers

Active Directory

Question for all you coders familiar active directory. Which way is best? What I mean is, after doing some research I see Active DS Type Library, System.DirectoryServices namespace and System.DirectoryServices.AccountManagement names ...

0
votes
0 answers

download a directory listedcontent

i have listed the contents of a folder using the following code DirectoryInfo di = new DirectoryInfo("D:/EmpCustVersion1/pancard/"+txtDir.Text); FileInfo[] rgFiles = di.GetFiles(); foreach (FileInfo fi in rgFil ...

1
votes
1 answers

Active Directory LDAP Attribute - ADsPath Format

Does anyone know how to get the adspath attribute value to a better looking string. Active Directory returns the following: "LDAP://contoso.com/CN=Sanch01R,OU=Managers,OU=Users,OU=InfoTech,DC=contoso,DC=com"; I would like it ...

Feedback