.Net 加密 Office Excel Word PPT 文档 使用方法: using (OfficeCryptoStream stream = OfficeCryptoStream.Open(@"location")) { stream.Password = "password"; stream.Save(); }