Click here to Skip to main content
15,845,829 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everybody,
I am new in xamarin form,
I know how to take a picture, but:
How do i get the name o named it in order to save it?

What I have tried:

I tried microsoft doc, web info
Posted
Updated 17-Mar-23 6:49am
Comments
Dave Kreskowiak 17-Mar-23 12:05pm    
You're going to have to give a lot more detail than this if you want any kind of an answer. What does "take a picture" mean? What do you mean by "get the name of..."?
Luis M. Rojas 17-Mar-23 12:16pm    
In my App the user have to type the following: Place, name, type of transaction, etc and have to take a picture to the invoice from the movil and save everything, my only problem is that i do not know after i have the photo and all data, give a name to the picture file taken to save it

1 solution

Was easy:
var name=photo.OriginalFilename;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900