download the full version of MatriX. It comes with a MiniClient example which includes examples for presence and vcard. The API is exactly the same for all MatriX versions.
The presence comes in the OnPresence event after login
for vcard use MatriX.Xmpp.Client.VcardIq and MatriX.Xmpp.Vcard.Vcard classes.