// MixDecrypt.h #pragma once #pragma unmanaged #include "mix_decode.h" #pragma managed using namespace System; namespace MixDecrypt { public ref class MixDecrypt { public: static array^ BlowfishKey( array^ src ) { array^ dest = gcnew array( 56 ); pin_ptr s = &src[0]; pin_ptr d = &dest[0]; get_blowfish_key( s, d ); return dest; } }; }