Allocates a
string array and unmarshals the
unmanaged string array into a managed string array.
Syntax
public static
string[]
PtrToStringArray (
IntPtr stringArray)
Parameters
- stringArray
-
A IntPtr containing a
byte** array
which follows the ANSI C rules for the argv argument passed
to main.
Returns
A string array containing all the strings in
the unmanaged string array. If stringArray is
IntPtr.Zero, a string array containing zero
elements is returned.
Remarks
Requirements
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0