'Writing toml file with .Nett

I come across "toml" file from some websites and find that it is pretty good so trying to start using it. But then, I find that there is not a lot of examples of toml file.

I am now trying to use it with Nett in vb.net. It give me a while to figure out how to read with it but, struggled with how to write the file.

Anyone can help with it? Nett.Toml.WriteFile(TomlTable, String) is doing the writing but, how do I create the "TomlTable" here?

Trying to write below:

[TRANSFERS]
    [Transfers.0]
    Transfer_Mode="1"
    File_Type="2"
    Source_Directory="asd"
    Destination_Directory=123
    
    [Transfers.1]
    Transfer_Mode=""
    File_Type=""
    Source_Directory=""
    Destination_Directory=""


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source