text
stringlengths
14
100k
source
stringclasses
1 value
repo
stringclasses
810 values
language
stringclasses
13 values
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * jxy-s 2026 * */ #include "onlnchk.h" #define PCRE2_CODE_UNIT_WIDTH 16 #include "../../tools/thirdparty/pcre/pcre2.h" static PH_QUEUED_LOCK ScanExcludeLock = PH_Q...
fim
winsiderss/systeminformer
c
<|fim_suffix|>_NAME_VIRUSTOTAL_LOOKUPS_ENABLED, L"0" }, { StringSettingType, SETTING_NAME_SCAN_EXCLUDE_LIST, L"" }, { IntegerSettingType, SETTING_NAME_PARTNER_PROMPT_SHOWN, L"0" }, { IntegerSettingType, SETTING_NAME_SCAN_MAX_FILE_SIZE, L"8000000" }, // 128 MiB ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2013 * dme<|fim_suffix|>WND WindowHandle, _In_ PPH_SERVICE_ITEM ServiceItem, _In_ ULONG Service ); typedef enum _COLUMN_ID ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>indowHandle, hdc, control, CTLCOLOR_STATIC); SetTextColor(hdc, configured ? RGB(0, 153, 51) : RGB(128, 128, 128)); SetBkMode(hdc, TRANSPARENT); return (INT_PTR)brush; } return HANDLE_WM_CTLCOLORSTATIC(WindowHandle, wParam, lParam, P...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2016-2024 * */ #include "onlnchk.h" HRESULT CALLBACK TaskDialogProcessingCallbackProc( _In_ HWND WindowHandle, _In_ UINT WindowMessage, _In_ WPA...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All <|fim_suffix|>LaunchCommand), NULL); // } //#endif } } break; case TDN_VERIFICATION_CLICKED: { BOOL verification = (BOOL)wParam; } break; } return S...
fim
winsiderss/systeminformer
c
<|fim_suffix|>_PROGRESS_BAR | TDF_CALLBACK_TIMER; config.dwCommonButtons = TDCBF_CANCEL_BUTTON; config.hMainIcon = PhGetApplicationIcon(FALSE, PhGetWindowDpi(Context->DialogHandle)); config.pszWindowTitle = PhaFormatString(L"Uploading %s...", PhGetStringOrEmpty(Context->BaseFileName))->Buffer; config.ps...
fim
winsiderss/systeminformer
c
<|fim_suffix|>config.hMainIcon = PhGetApplicationIcon(FALSE, PhGetWindowDpi(Context->DialogHandle)); config.pszWindowTitle = PhaFormatString(L"Uploading %s...", PhGetStringOrEmpty(Context->BaseFileName))->Buffer; config.pszMainInstruction = PhaFormatString(L"Error uploading %s...", PhGetStringOrEmpty(Context->B...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * jxy-s 2026 * */ #include "onlnchk.h" typedef struct _PARTNER_CONTEXT { HBITMAP BannerBitmap; HFONT TitleFont; } PARTNER_CONTEXT, *PPARTNER_C...
fim
winsiderss/systeminformer
c
<|fim_suffix|>Y_STATUS 1067 #define IDC_PARTNER_BANNER 1060 #define IDC_PARTNER_TITLE 1062 #define IDC_PARTNER_CONFIGURE 1064 #define IDC_PARTNER_LINK 1065 #define IDC_CHECK1 1010 #define IDC_EDIT1 1011 #define ...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * jxy-s 2026 * */ #include "onlnchk.h" #include <kphuser.h> #include <mapldr.h> #include <bcrypt.h> #include <winsqlite/winsqlite3.h> typedef struct _SCAN_FILE_ID...
fim
winsiderss/systeminformer
c
<|fim_suffix|>text->TaskbarListClass); context->DialogWindowProc = PhGetWindowProcedure(WindowHandle); PhSetWindowContext(WindowHandle, 0xF, context); PhSetWindowProcedure(WindowHandle, OnlineChecksTaskDialogSubclass); ShowFileUploadDialog(context); } br...
fim
winsiderss/systeminformer
c
<|fim_suffix|> { // first and last item Button_Enable(context->MoveUpButtonHandle, FALSE); Button_Enable(context->MoveDownButtonHandle, FALSE); } e...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2015-2023 * */ #include "toolstatus.h" #include "commonutil.h" static CONST PCWSTR CustomizeTextOptionsStrings[] = { L"No text labels", ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>tampText)) { if (PhSearchControlMatch(SearchMatchHandle, &networkNode->TimeStampText->sr)) return TRUE; } if (!PhIsNullOrEmptyString(networkNode->NetworkItem->ProcessName)) { if (PhSearchControlMatch(SearchMatchHandle, &networkNode->NetworkItem->ProcessName->sr...
fim
winsiderss/systeminformer
c
<|fim_suffix|>at, FALSE)) { wcsncpy_s(FindDialogText, RTL_NUMBER_OF(FindDialogText), fr->lpstrFindWhat, _TRUNCATE); PhInitializeStringRefLongHint(&FindDialogExpression, FindDialogText); searchParamsChanged = TRUE; } else { PhInitializeStrin...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2015-2023 * */ #include "toolstatus.h" #include <toolstatusintf.h> static PPH_LIST P<|fim_suffix|>EVENT mouseEvent = (PPH_GRAPH_MOUSEEVENT)Par...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2016 * dmex 2011-2023 * */ #include "toolstatus.h" #include <trace.h> TOOLSTATUS_CONFIG ToolStatusConfig = { 0 }; HWND ProcessTreeNewHandle = N...
fim
winsiderss/systeminformer
c
<|fim_suffix|> TaskbarIsDirty = TRUE; TaskbarInitialize(); SendMessage(MainWindowHandle, WM_DPICHANGED, 0, 0); } break; case WM_CTLCOLORBTN: return HANDLE_WM_CTLCOLORBTN(WindowHandle, wParam, lParam, PhWindowThemeControlColor); case WM_CTLCOLORDLG: ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>NFO entry = (PTOOLSTATUS_TAB_INFO)Entry; return PhHashInt32(entry->Index); } ULONG_PTR PluginInterfaceGetSearchMatchHandle( VOID ) { return SearchMatchHandle; } VOID PluginInterfaceInvokeSearchChangedEvent( _In_ ULONG_PTR Context ) { PhInvokeCallback(&PluginInterfaceSearchCh...
fim
winsiderss/systeminformer
c
<|fim_suffix|> 1011 #define IDC_MOVEDOWN 1012 #define IDC_RESET 1014 #define IDC_ENABLE_AUTOHIDE_MENU 1015 #define IDC_ENABLE_AUTOCOMPLETE 1016 #define IDC_ENABLE_AUTOFOCUS_SEARCH 1017 #define ID_FIND 40010 #define ID_SEARCH ...
fim
winsiderss/systeminformer
c
<|fim_suffix|> PhInitFormatS(&format[0], L"Visible: N/A"); PhFormatToBuffer(format, RTL_NUMBER_OF(format), text[count], sizeof(text[count]), &textLength[count]); } } break; case ID_STATUS_NUMBEROFSELECTEDITEMS: { H...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2020-2023 * */ #include "toolstatus.h" PH_TASKBAR_ICON TaskbarListIconType = TASKBAR_ICON_NONE; BOOLEAN TaskbarIsDirty = FALSE; BOOLEAN Taskba...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2011-2023 * */ #include "toolstatus.h" SIZE ToolBarImageSize = { 16, 16 }; HIMAGELIST ToolBarImageList = NULL; HFONT ToolbarWindowFont = NULL;...
fim
winsiderss/systeminformer
c
<|fim_suffix|>dInfo)) return TRUE; return FALSE; } <|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2011-2023 * */ #include "toolstatus.h" BOOLEAN RebarBandInsert( _In_ REBA...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2013 * dmex 2011-2023 * */ #ifndef _TOOLSTATUS_H #define _TOOLSTATUS_H #include <phdk.h> #include <phapppub.h> #include <phappres...
fim
winsiderss/systeminformer
c
<|fim_suffix|> NTAPI MainWindowShowingCallback( _In_opt_ PVOID Parameter, _In_opt_ PVOID Context ) { // Check if there's a pending update and the user wants the update prompt before the main window. if (PhGetIntegerSetting(SETTING_NAME_UPDATE_MODE) && PhGetIntegerSetting(SETTING_NAME_UPDATE_AVAILABL...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2011-2020 * */ #include "updater.h" INT_PTR CALLBACK OptionsDlgProc( _In_ HWND WindowHandle, _In_ UINT WindowMessage, _In_ WPARAM ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ig.pButtons = SwitchTaskDialogButtonArray; // config.cButtons = RTL_NUMBER_OF(SwitchTaskDialogButtonArray); // // switch (Context->Channel) // { // case PhReleaseChannel: // config.pszMainInstruction = L"Switch to the System Informer release channel?"; // ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>NT WindowMessage, _In_ WPARAM wParam, _In_ LPARAM lParam, _In_ LONG_PTR dwRefData ) { PPH_UPDATER_CONTEXT context = (PPH_UPDATER_CONTEXT)dwRefData; switch (WindowMessage) { case TDN_NAVIGATED: { PhSetEvent(&InitializedEvent); SendMessage(Wi...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ER_OF(TaskDialogButtonArray); config.lpCallbackData = (LONG_PTR)Context; config.pfCallback = ShowAvailableCallbackProc; config.pszWindowTitle = L"System Informer - Updater"; if (Context->SwitchingChannel) { switch (Context->Channel) { case PhReleaseChannel: ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>ACK ShowProgressCallbackProc( _In_ HWND WindowHandle, _In_ UINT WindowMessage, _In_ WPARAM wParam, _In_ LPARAM lParam, _In_ LONG_PTR dwRefData ) { PPH_UPDATER_CONTEXT context = (PPH_UPDATER_CONTEXT)dwRefData; switch (WindowMessage) { case TDN_NAVIGATED: { ...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2016-2023 * */ #include "updater.h" HRESULT CALLBACK FinalTaskDialogCallbackProc( _In_ HWND WindowHandle, _In_ UINT WindowMessage, ...
fim
winsiderss/systeminformer
c
<|fim_suffix|> #endif <|fim_prefix|>//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by Updater.rc // #define IDD_OPTIONS 101 #define IDD_TEXT 102 #define IDC_AUTOCHECKBOX 1001 #define IDC_TEXT 1002 #define IDC...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2011-2024 * */ #include "updater.h" #include <kphdyn.h> typedef struct _UPDATER_PLATFORM_SUPPORT_ENTRY { USHORT Class; PH_STRINGREF F...
fim
winsiderss/systeminformer
c
<|fim_suffix|>OLEAN DownloadSuccess; BOOLEAN HashSuccess; BOOLEAN SignatureSuccess; } UPDATER_DOWNLOAD_RESULT, *PUPDATER_DOWNLOAD_RESULT; #ifdef FORCE_FAST_STATUS_TIMER #define SETTING_NAME_STATUS_TIMER_INTERVAL USER_TIMER_MINIMUM #else #define SETTING_NAME_STATUS_TIMER_INTERVAL 20 #endif VOID TaskDialogLinkC...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex 2016-2019 * jxy-s 2024 * */ #include "updater.h" static CONST UCHAR UpdaterTrustedPublicKeyRelease[] = { 0x45, 0x43, 0x53, 0x31, 0x...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2015 * dmex 2016-2023 * */ #include "usernotes.h" #include <json.h> _Function_class_(PH_HASHTABLE_EQUAL_FUNCTION) BOOLEAN NTAPI ObjectDbEqualFu...
fim
winsiderss/systeminformer
c
<|fim_suffix|>( _In_ PDB_OBJECT Object ); VOID SetDbPath( _In_ PPH_STRING Path ); NTSTATUS LoadDb( VOID ); NTSTATUS SaveDb( VOID ); typedef BOOLEAN (NTAPI* PDB_ENUM_CALLBACK)( _In_ PDB_OBJECT Object, _In_ PVOID Context ); VOID EnumDb( _In_ PDB_ENUM_CALLBACK Callback,...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2015 * dmex 2016-2023 * */ #include "usernotes.h" BOOLEAN IsCollapseServicesOnStartEnabled( VOID ) { static CONST PH_...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2016 * dmex 2016-2023 * */ #include "usernotes.h" INT_PTR CALLBACK ProcessCommentPageDlgProc( _In_ HWND WindowHandle, _In...
fim
winsiderss/systeminformer
c
<|fim_prefix|>//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by UserNotes.rc // #define IDD_OPTIONS <|fim_suffix|>define IDC_COMMENT 1003 #define IDC_REVERT 1004 #define IDC_MATCHCOMMANDLINE 1005 #define IDC_COLLAPSE_S...
fim
winsiderss/systeminformer
c
<|fim_suffix|>COMMAND_ID { PROCESS_PRIORITY_SAVE_ID = 1, PROCESS_PRIORITY_SAVE_FOR_THIS_COMMAND_LINE_ID, PROCESS_PRIORITY_SAVE_IFEO, PROCESS_IO_PRIORITY_SAVE_ID, PROCESS_IO_PRIORITY_SAVE_FOR_THIS_COMMAND_LINE_ID, PROCESS_IO_PRIORITY_SAVE_IFEO, PROCESS_HIGHLIGHT_ID, PROCESS_COLLAPSE_ID, ...
fim
winsiderss/systeminformer
c
<|fim_suffix|> PhRegisterCallback( PhGetPluginCallback(PluginInstance, PluginCallbackMenuItem), MenuItemCallback, NULL, &PluginMenuItemCallbackRegistration ); PhRegisterCallback( PhGetGeneralCallback(...
fim
winsiderss/systeminformer
c
<|fim_suffix|> return item; } VOID PvDoPropPageLayout( _In_ HWND hwnd ) { HWND parent; PPV_PROPSHEETCONTEXT propSheetContext; parent = GetParent(hwnd); propSheetContext = PvpGetPropSheetContext(parent); PhLayoutManagerLayout(&propSheetContext->LayoutManager); } <|fim_prefix|>/* * Cop...
fim
winsiderss/systeminformer
c
<|fim_suffix|>n_ PPH_LAYOUT_ITEM ParentItem, _In_ ULONG Anchor ); VOID PvDoPropPageLayout( _In_ HWND hwnd ); _Success_(return) FORCEINLINE BOOLEAN NTAPI PvPropPageDlgProcHeader( _In_ HWND hwndDlg, _In_ UINT uMsg, _In_ LPARAM lParam, _Out_ LPPROPSHEETPAGE *PropSheetPage, _Out_ PPV_P...
fim
winsiderss/systeminformer
c
<|fim_prefix|>//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by WindowExplorer.rc // #define IDD_WNDLIST 101 #define ID_VIEW_WINDOWS 101 #define ID_THREAD_WINDOWS 102 #define ID_PROCESS_WINDOWS 103 #def<|fim_suffix|>OPACITY_10...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserv<|fim_suffix|> - rect.left, rect.bottom - rect.top); // Cleanup. SelectBrush(hdc, oldBrush); SelectPen(hdc, oldPen); DeletePen(pen); RestoreDC(hdc, oldDc); ReleaseDC(hWnd, hdc)...
fim
winsiderss/systeminformer
c
<|fim_suffix|>dWindowPlacementFromSetting(SETTING_NAME_WINDOWS_WINDOW_POSITION, SETTING_NAME_WINDOWS_WINDOW_SIZE, hwndDlg); else PhCenterWindow(hwndDlg, NULL); // Subclass the button. context->FindWindowButtonWindowProc = PhGetWindowProcedure(context->FindWindowButto...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2011-2013 * dmex 2015-2023 * */ #ifndef WNDEXP_H #define WNDEXP_H #include <phdk.h> #include <phapppub.h> #include <phappresource.h> #include <setti...
fim
winsiderss/systeminformer
c
<|fim_suffix|>DeselectAllWindowNodes(Context); for (i = 0; i < NumberOfWindowNodes; i++) { if (WindowNodes[i]->Node.Visible) { leader = WindowNodes[i]; break; } } if (!leader) return; // Expand recursively upwards, and select the nodes. ...
fim
winsiderss/systeminformer
c
<|fim_suffix|> 1; }; }; HWND WindowHandle; WCHAR WindowClass[64]; PPH_STRING WindowText; CLIENT_ID ClientId; PPH_PROCESS_ITEM ProcessItem; union { ULONG_PTR ProcessIconIndex; ULONG_PTR WindowIconIndex; }; PPH_STRING ThreadString; PPH_STRING ModuleSt...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights rese<|fim_suffix|> ) { HICON icon; ICONINFO iconInfo = { 0 }; HBITMAP maskBitmap; maskBitmap = CreateBitmap(Width, Height, 1, 1, NULL); iconInfo.fIcon = TRUE; iconInfo.hbmColor = BitmapHandle; iconInfo....
fim
winsiderss/systeminformer
c
<|fim_suffix|> (NTAPI* PNETWORKTOOLS_GET_COUNTRYICON)( _In_ ULONG CountryCode ); typedef BOOLEAN (NTAPI* PNETWORKTOOLS_GET_SERVICENAME)( _In_ ULONG Port, _Out_ PPH_STRINGREF* ServiceName ); typedef VOID (NTAPI* PNETWORKTOOLS_DRAW_COUNTRYICON)( _In_ HDC hdc, _In_ RECT rect, _In_ INT Ind...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2015 * dmex 2015-2024 * */ #ifndef _TOOLSTATUSINTF_H #define _TOOLSTATUSINTF_H #define TOOLSTATUS_INTERFACE_NAME L"ToolStatus" #define...
fim
winsiderss/systeminformer
c
<|fim_suffix|> string compileCommandsContent; try { compileCommandsContent = JsonSerializer.Serialize( Context.CompileCommands, new JsonSerializerOptions { WriteIndented = true, IndentSize = 4, ...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides Azure Key Vault integration for certificate retrieval and code signing operati...
fim
winsiderss/systeminformer
csharp
<|fim_suffix|>on for timestamping the file. To omit timestamping, /// use <see cref="TimeStampConfiguration.None"/>.</param> /// <param name="AdditionalCertificates">Any additional certificates to assist in building a certificate chain.</param> public AuthenticodeKeyVaultSigner( Asym...
fim
winsiderss/systeminformer
csharp
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// ECDsa implementation that uses Azure Key Vault /// </summary> public sealed class ECDsaKeyVau...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { <|fim_suffix|> /// </summary> /// <param name="AccessToken"></param> /// <param name="KeyId">...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { // https://learn.microsoft.com/en-us/rest/api/keyvault/certificates/get-certificate/get-certificate?tabs=HTTP...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// A signing context used for signing packages with Azure Key Vault Keys. /// </summar...
fim
winsiderss/systeminformer
csharp
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Represents an in-memory certificate store for managing X.509 certificates. Provides methods to add ce...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { using unsafe AuthenticodeDigestSignDelegate = delegate* unmanaged[Stdcall]<CERT_CONTEXT*, CRYPT_INTEGER_BLOB*...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// RSA implementation that uses Azure Key Vault /// </summary> public sealed class...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: <|fim_suffix|> public static RSA Create(string AccessToken, Uri KeyId, X509Certificate2 PublicCertificate) { ArgumentNullException.ThrowIfNull(...
fim
winsiderss/systeminformer
csharp
<|fim_suffix|> /// <summary> /// Indicates that a timestamp authority should use an RFC3161 timestamp signatures. /// </summary> RFC3161 } }<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * ...
fim
winsiderss/systeminformer
csharp
<|fim_suffix|>nContext.Default.SecretResponse); if (!string.IsNullOrWhiteSpace(secretResponse.Value)) { var base64 = secretResponse.Value; // base64-encoded PFX (PKCS#12) return X509CertificateLoader.LoadCertificate(Convert.FromBase64String(base64)); ...
fim
winsiderss/systeminformer
csharp
<|fim_suffix|>ld output. /// </summary> /// <remarks> /// Includes the main SDK directory and subdirectories for headers, debugger symbols, and libraries /// across multiple processor architectures (amd64, i386, arm64). /// Additional sample directories are available but currentl...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides methods for creating, uploading, and managing build artifacts and server confi...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides methods for interacting with Azure DevOps build information using environment ...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides static methods for managing GitHub releases and assets via the GitHub API. ...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides static methods for creating isolated HttpClient instances and sending HTTP req...
fim
winsiderss/systeminformer
csharp
<|fim_suffix|> await using BufferedStream bufferedStream = new BufferedStream(fileStream); using HttpRequestMessage requestMessage = new HttpRequestMessage(HttpMethod.Post, $"{BaseUrl}/{DownloadFileName}"); requestMessage.Headers.Add("api_key", BaseToken); //request...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides methods for checking the versions of vendored thirdparty libraries against the...
fim
winsiderss/systeminformer
csharp
<|fim_suffix|>de.Open, FileAccess.Read, FileShare.Read, bufferSize, FileOptions.SequentialScan)) { int bytesRead; while ((bytesRead = filestream.Read(buffer, 0, buffer.Length)) > 0) { ...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides methods for retrieving NuGet package metadata, including the latest available ...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides cryptographic and signature verification utilities for build artifacts. //...
fim
winsiderss/systeminformer
csharp
<|fim_suffix|>nt, requestMessage, VirusTotalResponseContext.Default.VirusTotalLargeUploadResponse); uploadInfo = response.data; } } if (string.IsNullOrWhiteSpace(uploadInfo)) { Program.PrintColorMessage("[B...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides methods for discovering and managing installed Visual Studio instances using n...
fim
winsiderss/systeminformer
csharp
<|fim_suffix|> DtdProcessing = DtdProcessing.Prohibit, IgnoreWhitespace = true }; using (var xmlReader = XmlReader.Create(ManifestFile, xmlSettings)) { xml.Load(xmlReader); } var dyn = xml.SelectSingleNode("/dyn"); ...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>// This file is used by Code Analysis to maintain SuppressMessage // attributes <|fim_suffix|>aintain consistency/readability of code.")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0090:Use 'new(...)'", Justification = "Maintain consistency/readability of code.")] [assembly: S...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides functionality to generate a merged public header file from a set o...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides the entry point and core command-line processing logic for the custom build to...
fim
winsiderss/systeminformer
csharp
<|fim_suffix|> using var image = new PEReader(stream); PEHeaders headers = image.PEHeaders; if (headers.PEHeader == null) { Program.PrintColorMessage("Invalid PE header", ConsoleColor.Red); return false; } ...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides utility methods for interacting with the Windows file system, environment vari...
fim
winsiderss/systeminformer
csharp
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ namespace CustomBuildTool { /// <summary> /// Provides methods for creating compressed ZIP archives from directories. /// </summa...
fim
winsiderss/systeminformer
csharp
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * wj32 2010-2012 * dmex 2020-2022 * */ #include <ph.h> #include <svcsup.h> #define PH_COMMAND_OPTION_HWND 1 #define PH_ARG_COMMANDMODE 5 #define PH_ARG_COM...
fim
winsiderss/systeminformer
c
<|fim_suffix|> PhDereferenceObject(extractPath); return status; } /** * Commits staged files to their final file names. * * \param Context The setup context. * \param StagedFiles The staged files list. * \return Successful or errant status. */ static NTSTATUS SetupExtractBuildCommitFiles( _In_ PPH_...
fim
winsiderss/systeminformer
c
/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ #include "setup.h" /** * Installs System Informer. * * \param Context The setup context. * \return Successful or errant status. */ _Function_class_(U...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ #include "setup.h" #define SETUP_CMD_INSTALL 1 #define SETUP_CMD_UNINSTALL 2 #define SETUP_CMD_UPDATE 3 #define SETUP_CMD_SILENT ...
fim
winsiderss/systeminformer
c
<|fim_suffix|> #define IDD_UNINSTALL 107 #define IDD_UPDATE 108 #define IDD_REPAIR 109 #define IDB_PNG1 110 #define IDD_ERROR 111 #define IDC_PATH 1001 #define IDC_BROWSE ...
fim
winsiderss/systeminformer
c
<|fim_suffix|>r ); // download.c #define MAKE_VERSION_ULONGLONG(major, minor, build, revision) \ (((ULONGLONG)(major) << 48) | \ ((ULONGLONG)(minor) << 32) | \ ((ULONGLONG)(build) << 16) | \ ((ULONGLONG)(revision) << 0)) ULONG64 ParseVersionString( _Inout_ PPH_STRING VersionString ); BO...
fim
winsiderss/systeminformer
c
<|fim_suffix|> lParam Additional message information. * \param dwRefData The setup context. * \return S_OK to continue, otherwise an HRESULT value. */ HRESULT CALLBACK SetupDirectoryNonEmptyTaskDialogCallbackProc( _In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam, _In_ LON...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ #include "setup.h" /** * Uninstalls System Informer. * * \param Context The setup context. * \return Successful or errant status. */ _F...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ #include "setup.h" /** * Updates an existing System Informer installation. * * \param Context The setup context. * \return Successful or...
fim
winsiderss/systeminformer
c
<|fim_suffix|>alName The final file name. * \return Successful or errant status. */ NTSTATUS SetupRollbackFile( _In_ PPH_SETUP_CONTEXT Context, _In_ PPH_STRING FinalName ) { PPH_STRING sessionId; PPH_STRING stagingName; PPH_STRING backupName; if (!(sessionId = SetupGetSessionId(Context)))...
fim
winsiderss/systeminformer
c
<|fim_prefix|>/* * Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved. * * This file is part of System Informer. * * Authors: * * dmex * */ #include "setup.h" #pragma comment(lib, "uxtheme.lib") // Win32 PropertySheet Control IDs #define IDD_PROPSHEET_ID 1006 // ID o...
fim
winsiderss/systeminformer
c
<|fim_suffix|>; } if (!NT_SUCCESS(status = NtWriteFile( fileHandle, NULL, NULL, NULL, &iosb, signature, signatureSize, NULL, NULL ))) ...
fim
winsiderss/systeminformer
c
<|fim_suffix|> 40001 #define _APS_NEXT_CONTROL_VALUE 1001 #define _APS_NEXT_SYMED_VALUE 101 #endif #endif <|fim_prefix|>//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by resource.rc // #define IDR_RT_MANIFEST 1 // Next default values for new obje...
fim
winsiderss/systeminformer
c