public void addBool( string name, ushort fid, bool val) { EnsurePeerCreated(); int code = NativeMethods.mamaMsg_addBool(nativeHandle, name, fid, val); CheckResultCode(code); }