NET Logging Library
GetFileBytes Method (BaseFileTarget)



KellermanSoftware.NetLoggingLibrary.Targets Namespace > BaseFileTarget Class : GetFileBytes Method
Get all the bytes in a file
Syntax
Public Function GetFileBytes( _
   ByVal path As String _
) As Byte()
Dim instance As BaseFileTarget
Dim path As String
Dim value() As Byte
 
value = instance.GetFileBytes(path)
public byte[] GetFileBytes( 
   string path
)
public:
array<byte>^ GetFileBytes( 
   String^ path
) 

Parameters

path
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseFileTarget Class
BaseFileTarget Members