你是Certikller.com網(wǎng)站的應(yīng)用程序開發(fā)人員,你正在編寫一個(gè)代碼段,你必須確保數(shù)據(jù)包含在一個(gè)叫做Setting.dat的獨(dú)立的文件中存儲(chǔ)。以字符串的形式返回。 Settings.dat在機(jī)器域中。 選擇能夠達(dá)成目標(biāo)的代碼段()
A. B. C. D.
假如您現(xiàn)在正在開發(fā)一個(gè)服務(wù)器應(yīng)用程序。而這個(gè)應(yīng)用程序需要在網(wǎng)絡(luò)上傳遞一些敏感信息,您創(chuàng)建了一個(gè)X509Certificate類的對(duì)象叫做certificate和一個(gè)TcpClient的對(duì)象叫做client。您需要?jiǎng)?chuàng)建一個(gè)SslStream流使用TransportLayerSecurity1.0protocol協(xié)議進(jìn)行通信。那么您會(huì)使用下面的哪個(gè)代碼片段?()
A.A B.B C.C D.D
You are developing a method to call a COM component.You need to use declarative security to explicitly request the runtime to perform a full stack walk. You must ensure that all callers have the required level of trust for COM interop before the callers execute your method. Which attribute should you place on the method?()