Passing C# array to a native plug-in.