Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: How to Call media() function inside C# to get Media File Path

$
0
0
Hi @diegosly

Sorry for the late answer. Code for getting file path:
IMediaFile file = ...;

string filePath = (file as FileSystemFileBase).SystemPath;
that should be needed only, if you want to attach a file to an email.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>