Connecting Tech Pros Worldwide Forums | Help | Site Map

file attributes ...file owner

JH
Guest
 
Posts: n/a
#1: Nov 20 '05
I can get file attributes such as Name, LastAccessTime, Length etc using
system.IO.Directory.GetDirectories

and other related procedures. But how can I get the file owner ?

Thanks




Lifeng Lu
Guest
 
Posts: n/a
#2: Nov 20 '05

re: file attributes ...file owner


No, there is no .Net 1.1 API to support this. However, you can try to
wrap windows API and call them in your VB code. You can reference to the
following document to see what kind of API you can use.

http://msdn.microsoft.com/library/de...us/security/se
curity/finding_the_owner_of_a_file_object_in_c__.asp

Thanks

Lifeng Lu
Guest
 
Posts: n/a
#3: Nov 20 '05

re: file attributes ...file owner


No, there is no .Net 1.1 API to support this. However, you can try to
wrap windows API and call them in your VB code. You can reference to the
following document to see what kind of API you can use.

http://msdn.microsoft.com/library/de...us/security/se
curity/finding_the_owner_of_a_file_object_in_c__.asp

Thanks

Closed Thread