Performs C14N transformation of XML document (memory-to-memory with options).

Namespace:  Sc14n
Assembly:  diSc14nNet (in diSc14nNet.dll) Version: 0.9.0.0 (0.9.0.0)

Syntax

C#
public static byte[] ToBytes(
	byte[] xmlData,
	string nameOrId,
	Tran tranOpt
)
Visual Basic (Declaration)
Public Shared Function ToBytes ( _
	xmlData As Byte(), _
	nameOrId As String, _
	tranOpt As Tran _
) As Byte()

Parameters

xmlData
Type: array< System..::.Byte >[]()[]
XML data to be processed.
nameOrId
Type: System..::.String
To specify the tag name or Id. See remarks for C14n.ToFile.
tranOpt
Type: Sc14n..::.Tran
Transformation option.

Return Value

UTF-8 encoded byte array

See Also