She gave birth to the King's only, although illegitimate, child, John Corvinus.
[3][4] Matthias Corvinus King of Hungary and Bohemia met Barbara Edelpöck during the 1470 Vienna Summit, where Frederick III, Holy Roman Emperor organized dance parties.
On 2 April 2 1473, their child, John Corvinus was born in Buda, whom Barbara began to raise in Besztercebánya in a house given by King Matthias until 1476.
In 1476, Matthias married Beatrice of Aragon, and after they had no children, in 1479 he recognized John Corvinus as his legitimate son.
Barbara Edelpöck married Friedrich von Enzersdorf in 1476, with whom she had two more children (which was revealed in her will, but their names are not known) and they lived in a castle bought by Matthias in Enzersdorf in Lower Austria.