XpsFont.ObfuscateFontData Method (Byte[], Guid)


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


Type: System.Byte[]

The typeface data to obfuscate.

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 "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