MARKAND911 -1 Junior Poster

I want to restrict an Excel file from renaming it and from deleting it using C#.
How can i do it.
I want to set such security that no one can rename it or delete it programatically.
I want to give this security to file which i have generated programatically using C#.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.