检查文档是否受密码保护 [英] Check if Document is password protected
本文介绍了检查文档是否受密码保护的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们有一个C#(ASP.net)门户,主要用于上传文档.我们需要确保上传的文档不受密码保护.请帮助您在上传时查找文档是否受密码保护. TIA
问候,
Nancy
Hi,
We have a C# (ASP.net) portal used mainly for uploading documents. We need to ensure that the uploaded documents are not password protected. Kindly help on how to find, if the document is password protected, while uploading. TIA
Regards,
Nancy
推荐答案
对于Excel,您可以使用HasPassword
For Excel you can use the HasPassword
property.
这篇关于检查文档是否受密码保护的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文