NET Logging Library
GetFileBytes Method (BaseIsolatedFileTarget)



KellermanSoftware.NetLoggingLibrary.Targets Namespace > BaseIsolatedFileTarget Class : GetFileBytes Method
Get all the bytes in a file
Syntax
Public Function GetFileBytes( _
   ByVal path As String _
) As Byte()
Dim instance As BaseIsolatedFileTarget
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

BaseIsolatedFileTarget Class
BaseIsolatedFileTarget Members