DEV Community


Discussion on: Connecting to WordPress using C#

yeisonpx profile image
Yeison Lapaix Author

Hi Audrey, thanks to you for your feedback. You can upload images using the client.Media object and methods. For example:

 var createdMedia = await client.Media.Create(@"C:\pathToFile\media.jpg","media.jpg");

Check more details here in the documentation: Working with Medias

I hope this can help you.