I manged to find a way. But for those who need help:
foreach (var srcPath in Directory.GetFiles(tmppath))
{
//To customize for yourself:
//replace "tmppath" with what ever you want
File.Move(srcPath, srcPath+".jpg");
}
solved Rename in bulk C# [closed]