单项选择题
用DeflateStream类压缩数据时,你怎样指定一个流写入进压缩数据?()
A.设置BaseStream属性为目标流,并且设置CompressionMode属性为Compression
B.创建指定写入的流的对象,例如在构造函数中
C.用DeflateStream类的写入方法
D.注册DeflateStream类的BaseSream事件
相关考题
-
多项选择题
哪个对象的类型来源于MemberInfo类?()
A.FieldInfo class
B.MethodInfo class
C.Assembly class
D.Type class -
多项选择题
在.net应用程序中,哪些方法允许COM组件被使用?()
A.通过MicrosoftVisualStudio2005增加一个引用组件
B.用该类型库导入工具(TlbImport.exe)
C.用Regsvr32工具
D.确保该应用程序被注册,如果必须的话,用RegSvr工具。然后或者添加一个引用COM选项卡的增加引用对话框中或使用TblIpm.exe -
单项选择题
部署多个.NET的应用程序在你的计算机网络共享文件夹中,你的应用程序需要完全信任的正确执行,他们试图在电脑上运行该应用程序时, 收到安全性异常。您需要确保应用程序在用户计算机上充分信任的运行。你应该怎么做?()
A.Apply a string name to the applications by using the Strong Name tool (Sn.exe)
B.Use the security settings of internet explorer to add the shared folder to the list of trusted sites
C.Use the Code Access Security Policy tool (Caspol.exe) to add a new code group that has the full trust permission set. The new code group must also contain a URL membership condition that specifies the URL of the shared folder where your application reside
D.Grant the full trust permission set to the Trusted Zone code group by using the Code Access Security Policy Tool (Caspol.exe)
