RawDataFromText Method

Creates a new RawData instance from text.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public static RawData FromText(
	string text,
	string? mediaType = null
)

Parameters

text  String
The text.
mediaType  String  (Optional)
The Internet Media Type ("MIME type") of the text, or null.

Return Value

RawData
The newly created RawData instance.

Remarks

The vCard standard only allows to write a password as plain text to the KEY property. (See VCard.Keys.)

See Also