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 7066099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:02:39+00:00 2026-05-28T05:02:39+00:00

Specifically, I’d like to write the Windows Media Player frames, such as the WM/MediaClassPrimaryID

  • 0

Specifically, I’d like to write the Windows Media Player frames, such as theWM/MediaClassPrimaryID, WM/MediaClassSecondaryID and WM/WMCollectionGroupID frames.

I’m using PowerShell, but C# would be good too.

  • 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-05-28T05:02:40+00:00Added an answer on May 28, 2026 at 5:02 am

    I’m a bit rusty, but the following should be mostly correct. I remember these tags being UTF-16 but you’ll probably want to get an existing tag and try decoding its value with the Unicode encoder to be sure.

    // Get or create the ID3v2 tag.
    TagLib.Id3v2.Tag id3v2_tag = file.GetTag(TagLib.TagTypes.Id3v2, true);
    
    if(id3v2_tag != null) {
        // Get the private frame, create if necessary.
        PrivateFrame frame = PrivateFrame.Get(id3v2_tag, "WM/MediaClassPrimaryID", true);
    
        // Set the frame data to your value.  I am 90% sure that these are encoded with UTF-16.
        frame.PrivateData = System.Text.Encoding.Unicode.GetBytes(value);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Specifically, I want to write a powershell script to find every file with extensions.lib
Specifically this is regarding when using a client session cookie to identify a session
Specifically, I have a model that has a field like this pub_date = models.DateField(date
Specifically, I want to write a macro that 1) allows me to set a
Specifically, I want to use Point-to-point Message Queue but because I am still using
Specifically, I'm wondering which of these I should write: { shared_ptr<GuiContextMenu> subMenu = items[j].subMenu.lock();
Specifically, say I have a string like ABC-123-NNN. I would like the paragraph to
Specifically I want all PasswordBox's using a Style to have the same static KeyDown
Specifically, I want to write this: public Func<IList<T>, T> SelectElement = list => list.First();
Specifically, I would like to share a set of utility methods between NSTreeNode and

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.