aps.net C # Rename an image

0

I have an image in a folder and I wanted to change the name to only the
Can someone help me? Thank you

example:
nomeoriginal.jpg

was to:     

asked by anonymous 07.07.2016 / 17:39

1 answer

3

Use the System.IO.File.Move

System.IO.File.Move("nomeoriginal.jpg", "nomepretendido.jpg");

Source: link

    
07.07.2016 / 17:45