Surely instead of hardcoding the IMGFULLPATH1, you would
a) generate a value for IMGFULLPATH1 based on the path, a 'template' for the filename - for example
pass in D:\ (path)
pass in template BCode{######}.jpg
b) use something like
C# Random String Generator[
^] to generate a random string of 6 Characters (that are filename legal) and replace the "######" in the 'template' with the random string
c) check that the random filename doesnt already exist ! if so go back to b
d) return the filename
the filename generator could also just use a sequential number in the place of ###### and/or have a placeholder for the date and time etc
There are also system functions to generate file names - Path.GetTempFileName for example - Im not sure how unique/what restrictions there are on using it