【发布时间】:2008-11-19 06:41:20
【问题描述】:
我需要使用字节数组作为网站中的配置文件属性。通常我会将类型声明为 system.string 或 system.int32 但我不知道字节数组的类型。
编辑:我需要将其用作在 web.config 中声明的配置文件属性,如下所示:
<profile defaultProvider="ProfileProvider" enabled="true">
<properties>
<add name="Username" allowAnonymous="false" type="System.String" />
<add name="LoginToken" allowAnonymous="false" type=" System.Byte()" />
</properties>
</profile>
【问题讨论】: