DesigntimeLicenseContextSerializer.Serialize 方法

定义

使用指定的密钥和输出流将指定设计时许可证上下文中的许可证序列化。

public:
 static void Serialize(System::IO::Stream ^ o, System::String ^ cryptoKey, System::ComponentModel::Design::DesigntimeLicenseContext ^ context);
public static void Serialize (System.IO.Stream o, string cryptoKey, System.ComponentModel.Design.DesigntimeLicenseContext context);
static member Serialize : System.IO.Stream * string * System.ComponentModel.Design.DesigntimeLicenseContext -> unit
Public Shared Sub Serialize (o As Stream, cryptoKey As String, context As DesigntimeLicenseContext)

参数

o
Stream

要输出到的流。

cryptoKey
String

要用于加密的密钥。

context
DesigntimeLicenseContext

指示许可证上下文的 DesigntimeLicenseContext

适用于

另请参阅