Infinitives (to+verb) can be used like a noun, an adjective, or an adverb.
Gerunds and the present participle are both verb-ing in form, however, gerunds are used as nouns while participles are used as adjectives.
Since both 'using'(gerund) and 'to use' (infinitive ) can be used as a noun, most of the time, they are interchangeable, especially when you use them in the subject position.
Ex. To see is to believe.
Seeing is believing.
Both sentences are correct.
Another example:
It is nice to meet you.
It is nice meeting you.