Actually what you pass as the first parameter in the FileStream
constructor % is not the file name but the address path of the file.
Your address should contain the path, name, and file extension in a single string .
So after getting the filename you should concatenate the rest of the information to have the full address:
string strNomeArquivo = Convert.ToString(DateTime.Now.ToFileTime()),
localizacaoArquivo = "c:/",
extensaoArquivo = ".png",
enderecoArquivo = localizacaoArquivo + strNomeArquivo + extensaoArquivo;
FileStream fs = new FileStream(enderecoArquivo, FileMode.CreateNew, FileAccess.Write);
...
Note that if you want the path to some standard Windows folder, you can obtain them using the Enum from special system folders .
For the My Pictures folder of the user, for example:
string localizacaoArquivo = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures);