skip to main
|
skip to sidebar
File and Direcotires
Saturday, May 30, 2009
Get file extension
// Get file extension
FileInfo temp = new FileInfo(fileName);
if (temp.Extension.ToUpper() == ".DOC")
{
// ...
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
▼
2009
(17)
▼
May
(17)
CRC32 File Verification Hashing
Open a Zip File and Reading it
Size of Folder in Bytes (Deep or Shallow)
Ini File class
Browse For Folder in .NET 1.0
File Content To Array
Reading a text file with StreamReader
Write file to response stream
Short/Long path conversion
Get file extension
Wipe file
File lock
List Files in a Directory in C#
Set a file as read-only
Write a binary file
Recursively Search Directory for a File
How to Read a Text File (with a single call to sRe...
About Me
Avinash Tiwari
View my complete profile
No comments:
Post a Comment