XpsFont.ObfuscateFontData Method (Byte[], Guid)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Obfuscates the font typeface data.

Namespace:   System.Windows.Xps.Packaging
Assembly:  ReachFramework (in ReachFramework.dll)

public static void ObfuscateFontData(
	byte[] fontData,
	Guid guid
)

Parameters

fontData
Type: System.Byte[]

The typeface data to obfuscate.

guid
Type: System.Guid

The globally unique identifier (GUID) to use to obfuscate the fontdata.

The ObfuscateFontData method is provided for use when you are legally obligated to obfuscate licensed proprietary fonts.

While this method does not provide encryption, the ObfuscateFontData method can be used to inhibit users from unzipping proprietary OpenType fonts and installing them separately for other uses.

For more information about font obfuscation, see Section 2.1.7.3 "Embedded Font Obfuscation" in the XML Paper Specification (XPS) available for download at http://go.microsoft.com/fwlink/?LinkID=65761.

.NET Framework
Available since 3.0
Return to top
Show: