Is there a way to delete all the Keys under a certain Section in an .ini file? i.e.
[MySection]
Key1=test1
Key2=test2
Key3=test3

I want to delete everything under [MySection]. There are many texts on reading and writing to .ini files but I cant seem to find anything on deleting keys.
Much Thanks in advance,
Ele