You are creating a Windows Communication Foundation (WCF) service that accepts messages from clients when they are started. The message is defined as follows:[MessageContract] public class Agent { public string CodeName { get; set; } public string SecretHandshake { get; set; }}You have the following requirements: The CodeName property must be sent in clear text. The service must be able to verify that the property value was not changed after being sent by the client. The SecretHandshake property must not be sent in clear text and must be readable by the service.What should you do?()
Add a MessageBodyMember attribute to the CodeName property and set the ProtectionLevel to Sign. Add a MessageBodyMember attribute to the SecretHandshake property and set the ProtectionLevel to EncryptAndSign.
B. Add a DataProtectionPermission attribute to the each property and set the ProtectData property to true.
C. Add an xmlText attribute to the CodeName property and set the DataType property to Signed. Add a PasswordPropertyText attribute to the SecretHandshake property and set its value to true.
D. Add an ImmutableObject attribute to the CodeName property and set its value property to true. Add a Browsable attribute to the SecretHandshake property and set its value to false.
查看答案
现为减劫时期,人寿每百年减一岁,每百年矮一寸(安士全书),现在人类寿命就七十岁而论,身长就五、五尺而论,则五千年后寿只二十岁,身长只五寸,则不成其为人矣。日本人民身体短小,明治维新以来,提倡体育,身长较前人且有增长,此理应作何解释?
2007年,()干线货运量达11.23亿吨,超过欧洲的莱茵河和美国的密西西比河,成为世界上运量最大、航运最繁忙的通航河流。
A. 长江
B. 岷江
C. 赣江
D. 珠江
构建现代市场体系要()
A. 大力发展金融市场
B. 建设城乡一体的人力资源市场
C. 建设城乡统一的土地市场
D. 完善提升商品市场
E. 培育壮大新兴交易市场
F. 营造统一透明有序的市场环境
降压变电所的功能是()。
A. 连接配电室与用电设备之间的线路
B. 分配电能
C. 将380V或220V交流电分别供给动力设备或照明设备
D. 将来自主变电所的中高压三相交流电源进线电压降为三相380V或220V交流电