Find out the dimension of an array.

Hello,

I’m still working on my C# implementations in CUDA.
Currently everything is working quite well, the only open issue I still have is to find out which dimensions an array has when accessing this array with the driver API.

Is there a way to get the dimension of an array.

Thanks
Martin