Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

how to get the type of the folders

$
0
0

I use the codes below to get the type of files.

 string ext = Path.GetExtension(sFileName);
                string desc = (string)Registry.ClassesRoot.OpenSubKey(ext).GetValue(null);
                typeinfo = (string)Registry.ClassesRoot.OpenSubKey(desc).GetValue(null);

how to get the type of folders?

Thanks.


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>