99色精品-9色在线-99色在线-99色视频 国产欧美日产一区二区三区_亚洲精品亚洲人成在线观看_四虎在线精品永久观看_免费一级a一片久久精

單項選擇題

You are developing a class library that will open the network socket connections to computers on the network. You will deploy the class library to the global assembly cache and grant it full trust. You write the following code to ensure usage of the socket connections. 
SocketPermission permission =  
new SocketPermission(PermissionState.Unrestricted); 
permission.Assert();
Some of the applications that use the class library might not have the necessary permissions to open the network socket connections.You need to cancel the assertion.
Which code segment should you use?()

A.CodeAccessPermission.RevertAssert();
B.CodeAccessPermission.RevertDeny();
C.permission.Deny();
D.permission.PermitOnly();

微信掃碼免費搜題