Re: Replacement of deprecated API GetProcessInformation
Re: Replacement of deprecated API GetProcessInformation
- Subject: Re: Replacement of deprecated API GetProcessInformation
- From: email@hidden
- Date: Wed, 01 Mar 2017 06:04:30 +0900
IIRC that was a Classic Mac OS thing that ended more than a decade ago.
Sent from my iPhone
> On Mar 1, 2017, at 4:59, Daryle Walker <email@hidden> wrote:
>
>
>> On Feb 28, 2017, at 2:35 PM, Steve Mills <email@hidden> wrote:
>>
>> The process signature is an old way of identifying applications and processes. The modern equivalent would be the bundle identifier. From an NSRunningApplication you can get its bundleIdentifier. If you need more info, you can probably get the NSBundle for it and gets its infoDictionary. The process type is the CFBundlePackageType entry in the dict. Note that the CFBundleSignature is also in there, but not all apps will have a decent value in there.
>
> Or any value. Between starting a Mac app project in Xcode 7 and 8, the latter dropped the signature entry in the default-generated Info.plist file.
>
> ―
> Daryle Walker
> Mac, Internet, and Video Game Junkie
> darylew AT mac DOT com
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden