static extern Status rsid_enroll(IntPtr rsid_authenticator, ref EnrollArgs enrollArgs);
public Status Enroll(EnrollArgs args) { _enrollArgs = args; // store to prevent the delegates to be garbage collected return(rsid_enroll(_handle, ref args)); }