RobotStudio event

Renaming module files with PC SDK

Options
Hello.
Im trying to make a copy of a module containing product information.
I have created a template (Product_template.mod) file on the controller from robotstudio.
I can make copy of this file and rename it (ex. Product_1.mod) on the controller with PC SDK.
Is there any way to rename the module in the file from PC SDK?
Module.Name can only get, not set.
Module.SaveToFile will save the .mod-file as the module name.

One workaround is to move the mod-file to the computer. Change the module name there and then move it back to the controller.
But if there is a smoother solution I would much rather use it.

Thank you.