Hunny Software Library Reference

AppleFile.DataFork Property

Gets or sets the data fork

[Visual Basic]
Public Property DataFork As ByteString
[C#]
public Hunny.Base.ByteString DataFork {get; set;}

Property Value

the content of the data fork

Remarks

The data fork contains the file's "data," such as the text in a text file, or the image data in a GIF file. In contrast, the resource fork contains resources that are used only by the Macintosh operating system (font information, code, icons, and so forth). An AppleDouble header does not contain a data fork entry.

This property always returns a valid reference -- it never returns null. If there is no file name, the property returns a zero-length ByteString.

See Also

AppleFile Class | Hunny.Mime Namespace