ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Storage Namespace / NativeFile Class / ReadAllBytes Method
The file to open for reading.

In This Topic
    ReadAllBytes Method
    In This Topic
    Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
    Syntax
    'Declaration
     
    Public Shared Function ReadAllBytes( _
       ByVal path As String _
    ) As Byte()
    public static byte[] ReadAllBytes( 
       string path
    )

    Parameters

    path
    The file to open for reading.

    Return Value

    A byte array containing the contents of the file.
    See Also