Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8919943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:08:54+00:00 2026-06-15T06:08:54+00:00

I am using the following API https://gist.github.com/1285901 I have this code so far but

  • 0

I am using the following API
https://gist.github.com/1285901

I have this code so far but when it tries to read the tags they all return blank (by tags I mean artist info ect)

using System;
using System.IO;
using Microsoft.WindowsAPICodePack.Shell;
using Microsoft.WindowsAPICodePack;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Files();
            Console.Read();
        }
        public static void Files()
        {
            FileInfo fi = new FileInfo(@"C:\Users\santised\Desktop\music\");
            DirectoryInfo di = fi.Directory;
            FileSystemInfo[] fsi = di.GetFiles();
            foreach (FileSystemInfo info in fsi)
            {
                Console.Write(info.Name.Replace(".mp3", "") + " Tags: " + Tags(@"C:\Users\santised\Desktop\music\" + info.Name) + "\r\n");
            }
        }
        public static String Tags(String fileName)
        {
            if (File.Exists(fileName))
            {
                var file = new FileInfo(fileName);
                String returnval =  String.Join("; ", file.GetTags()); // .GetTags() is from the api on gist hub
                return returnval;
            }
            return "None;";
        }
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T06:08:55+00:00Added an answer on June 15, 2026 at 6:08 am

    The library you are using retrieves tags attributed to files within Windows: it does not retrieves MP3 meta data (ID3) tags. You will need to find a library that is capable of reading ID3 tags, e.g. TagLib Sharp.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have upload the video on facebook using following code Help From : https://github.com/zoul/facebook-ios-sdk/
I have the following URL: https://api-test.company.com/contacts?q=email= jlowder@company.com I am parsing it using: String URL
I'm playing with YouTube API. Using the following URL: https://gdata.youtube.com/feeds/api/users/RayWilliamJohnson/uploads , how do I
I'm using google.appengine.api urlfetch to preform the following freebase MQL query: https://api.freebase.com/api/service/mqlread?queries={q1: {query: [{subjects:
I'm testing SkyDrive's API using the following code: Dim webRequest As HttpWebRequest = DirectCast(HttpWebRequest.Create(https://apis.live.net/v5.0/me/skydrive/files?access_token=
I'm using the following jQuery code to try and access the delicious api, but
I am using the following code to accept payments for digital goods: https://www.x.com/blogs/Nate/2011/01/07/digital-goods-with-express-checkout-in-php I
I am using following code in my Android code, from here https://developers.google.com/drive/v2/reference/files/get Everthing is
The jQuery docs at http://api.jquery.com/on/ mention the benefits of delegated-events using the following syntax
I am using a com DLL in the following manner: #Region API Function <DllImportAttribute(abc.dll,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.