Question : how in .net C# can you determine file type?

expert:
I need sample C# code example that can determine type of event log file (.evt or .evtx?). For example is the file an older Windows  *.evt format log file or a newer Vista *.evtx type log file?

Answer : how in .net C# can you determine file type?

have you tried:

netstat -ban

Random Solutions  
 
programming4us programming4us