Linked block definitions in Rhinocommon

What is the way to create linked block definitions in rhinocommon? Like the ones that are discussed here I am trying to write a script that would take a list of filenames and import all of them as linked references.

I found a script sample to create blocks, but how can I create a linked references?

RhinoCommon does not have a way of creating a linked block. Your best bet is to script the Insert command.