Free for PREMIUM members
[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now
string extension = System.IO.Path.GetExtension(filename).ToLower();
if (extension == ".xls" || extension == ".xsls")
// Filename valid.
Open in new window
Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.