Desktop Functions: Smart Device Functions:
|
Search Results for "Run" in [All]ntdsapi1: DsCrackNames
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices; winspool
System.Runtime.InteropServices.ComTypes.FILETIME ftDriverDate; 4: EnumJobs
Imports System.Runtime.InteropServices 5: EnumPorts
using System.Runtime.InteropServices;
static extern bool EnumPrinterDrivers(String pName, String pEnvironment, uint level, IntPtr pDriverInfo, uint cdBuf, ref uint pcbNeeded, ref uint pcRetruned); 7: EnumPrinters You will need to import System.Runtime.InteropServices public static extern int EnumPrintProcessorDatatypesA(string pName, string pPrintProcessorName, int Level, ref byte pDatatypes, int cdBuf, ref int pcbNeeded, ref int pcRetruned) Declare Function EnumPrintProcessorDatatypes Lib "winspool.drv" Alias "EnumPrintProcessorDatatypesA" (ByVal pName As String, ByVal pPrintProcessorName As String, ByVal Level As Integer, ByRef pDatatypes As Byte, ByVal cdBuf As Integer, ByRef pcbNeeded As Integer, ByRef pcRetruned As Integer) As Integer You will need to import System.Runtime.InteropServices. Optionally call SendMessageTimeout() to notify running programs of the change:
// Notify running programs?
if (result == true && notifyRunningPrograms == true) winhttp
/// <returns>If the function succeeds, the function returns <c>true</c>. If the function fails, it returns <c>false</c>. For extended error data, call <see cref="System.Runtime.InteropServices.Marshal.GetLastWin32Error"/>.</returns> psapi
using System.Runtime.InteropServices; 13: EnumProcesses
using System.Runtime.InteropServices;
using System.Runtime.InteropServices;
/// or deleted, or if pagefiles have grown, shrunk, or been added. If the paging
public uint PagefileUsage; // The Commit Charge value in bytes for this process (SIZE_T). Commit Charge is the total amount of memory that the memory manager has committed for a running process. icmp17: 8DAZPU0667AT225BBWGW5WLBNSFQ5385ZKN6OIZO0TJC9H7A68WMQXEA3EA0NJV7WP4O3OFWEBUW7M8L3OFQLAW1M2IY5KGJYL9I WI ªéÇÒíÌxéøtÎÿxjõldĶå¯B§ÞÌJè}5' ÎúªFKì1ü¯É 'ÌýÇ/4P±Lfª~ôl?ÇOÅï<Jè[£!¾ïçËBÆ$ý_)Ý!HÃcy4a¿¨4'(%«ß¶ÂÕí2[ZÏÆ}í¶0ϤJîWyòcD¯èmµÙ³?V{äÒGÎiäRe¨ê$OÒ,T÷0JPzá¯6õ¢Dú<$ûmzðîdl[MóúηÁÍxZ.;4'HÌÚQ÷PиTi×Yk"ótä!E±åepµ|J !EIDuoÜ{¸6¾AÓ¹jè{étëëlÏu]³ÂÞ<?ç·¨FhVw¬oü*ÿùVrhä|FgnÅ?ÉÁGù5µ ³Ýùl>Jȱ¸£¥ü©¬öi¾%º3](ib¯ßúÆßÕ¬ç¡ Ýi3rï@N\iÍú6ôä({©fÄ¥ÖÚ¾Ó?P@<e®£Jñf'ñEWQ¾l? #7´Wþq'bøQo:A¿÷.|úSÉáQF`yÍFaÓ´.Àý\!×Ö` Í·\ä1,ÄèãÏ;]}]ñ]×0ÆýÆîÑB²ÝÀppC¥G»U`RL~½ÞêÑñÇ»$Ò¡#PÀ×ÜJäÅxCüqÁ³ñ"é¢rHôÆKowÑIÄ5Ã}Àezç'cjÝ0®»ùªõ»ódÊ{¬GêC,¤à/©¹¤8¡RuNßÑ --õìPfE§ËM´!Û3Aéî«ñ>Ê3ë²Ë«+d Ú¶4$ÂTnÞºq¨ªÀÙFd÷áÿõìW±ÜßHm¶ýhvÂGAH«w@Y[ÑÍáX³ªqó´j3ɬ¼½j$ Â@ª[ué]ÑÂ,P]qõþá]-Ù©OÝô0ÛéhøÄyXq¸äÝȸÏñH·a"¦V]0¤Èûò#Öe¤Îk{(ÛBVc">ÛjÏY*¸ÄW ·$±ä£ òÍÁÀ,ªÿÏýçøøWaÈé[ZðÐþC&ØF ¡WM]W6ÿåF&¡ÓWGF¢ÔÏéBHÑñy[p:ì<}ö[´gÙØ_ ͺo±.1»"z*×Â/¹¯pý³£hðùî1JÐ_s 6Í~` ×Áòª=Ì0àM,w¤)cÌ-¼M-×½¿±nçw½Ú ¸XtkOg¾cÎ\oM:K Éþ#!×íÅÂFÏ.(Û»é¨<E9³#ï« xOQDȪTï K°Ýô7lÌÏÄYLôoÚX"³k¤&÷<4i¾Ü³É&Wx¨im¿¡g¸ØÃþ^5å' ¸×"Êå;0}>x 7`KóÄï×å¼3nÊ jĸ#O A÷bQ+-&V×ΩVmP¿:uoÖæ¬HJøÇ"÷;öí=Ûþõ²Ï¨l-q¾í×üî±Êê²rN³õTFKBÓ0 y-ôà*¢wéøû\6.4õ×SaêÔ¯¹È¿SI7g£Æ»5Í/ë§ê&qöRRUN¾cÕÀð^&E7ä@§JÅ'ÚÀ`d¹[ZâñZûÚÅ«ºæÜÔ'9ÏÍë|¢²ì%¦úÒñ¸þ¸nöè8ÀÅ ÊNiy;V?2â ìñÎã(ü<tÅa'4£3_ç¹ /×Ìk÷&u<ƤL*:íß¼;º¼¾v¬U ©`Qiá«6¹¹¹xBç~ÑXN^ÇKótöZOä¥ ¿ÌÙb¦a2Q¢Ê¢VîX©xólÇIpõ2{ÍþòêÏvïX(îIx!u°"QßÞ-aâ5_% û¨!Ó÷N#rK6n+õ/ÇWx<ëÓÊ H¶Ý68â¸H¡§ã?#"ñNJ ©ìýY:e/ÕäÞê>UVÉëv´çµX¾ÆÓåÇlTeô|r Wãý·ÿþÕ¸s?¾JNA.¢Ì"[eîu8d\á;¦YD4êcÅÝB úÁüZB;¹CacPÎó½#÷@Jîe§bVÇqíÍiÁò 1®×56þM龺VÜlî.JMèæ=lcmqèßMn°ßDbÒ2=Ìl÷JãBbLé Never gonna run around and desert you 19: IcmpSendEcho
using System.Runtime.InteropServices; wintrust20: WinVerifyTrust
using System.Runtime.InteropServices;
ProviderUnknown = 0x800b0001, // Trust provider is not recognized on this system netapi32
DS_DOMAIN_NATIVE_MODE = 0x0010, // Primary domain is running in native mode
DS_DOMAIN_NATIVE_MODE = 0x0010, // Primary domain is running in native mode
/// <summary>The directory service is running on this computer.</summary>
ServerRunning = 1,
/// <summary>The directory service is running in mixed mode.</summary>
/// <summary>The directory service is running as read-only on this computer.</summary>
/// <summary>Primary domain server is running.</summary>
Running = 1, 23: NetDfsAdd Declare Function NetDfsAdd Lib "NETAPI32.DLL" (<Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal DfsEntryPath As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal ServerName As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal ShareName As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> ByVal Comment As String, ByVal Flags As Uint32) As Long 24: NetDfsRemove
Declare Function NetDfsRemove Lib "NETAPI32.DLL" (<Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> _
ByVal DfsEntryPath As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> _
ByVal ServerName As String, <Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.LPWStr)> _
Imports System.Runtime.InteropServices
using System.Runtime.InteropServices;
''' <remarks>If you call this function on a domain controller that is running Active Directory, access is allowed or denied based on The Alerter service must be running for NetMessageBufferSend to function.
using System.Runtime.InteropServices; 28: NetRemoteTOD using System.Runtime.InteropServices; using System.Runtime.InteropServices;
/// Time the job is run. Expressed in milliseconds from midnight of the day the
/// job is to be run.
/// Bitmask of days of the month that the job is to be run.
/// Bitmask is from the first to thirty first, lowest to highest bit, or 0 if the job will be run only once.
/// Bitmask of days of the week that the job is to be run.
/// Bitmask is from Monday to Sunday, from lowest to highest bit, or 0 if the job will be run only once.
/// The command to run.
JOB_RUN_PERIODICALLY = 1,
JOB_RUNS_TODAY = 4, 30: netserverenum
using System.Runtime.InteropServices;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
namespace System.Runtime.InteropServices
using System.Runtime.InteropServices;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.U4)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.U4)] public UInt32 sv101_version_major;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.U4)] public UInt32 sv101_version_minor;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.U4)] public UInt32 sv101_type;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] public string sv101_comment; 31: NetServerGetInfo
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] 32: NetShareEnum
Imports System.Runtime.InteropServices 33: NetShareGetInfo
Imports System.Runtime.InteropServices int Result = NetShareGetInfo("ArunGanesh", "public",502,out pBuffer);
using System.Runtime.InteropServices; 34: NetUseAdd using System.Runtime.InteropServices; 35: NetUserGetInfo Imports System.Runtime.InteropServices Imports System.Runtime.InteropServices.UnmanagedType Imports System.Runtime.InteropServices.Marshal Imports System.Runtime.InteropServices.StructLayoutAttribute
using System.Runtime.InteropServices;
using System.Runtime.InteropServices; 37: NetValidateName
using System.Runtime.InteropServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices; 38: NetWkstaUserEnum Shared Function NetWkstaUserEnum(ByVal servername As String, ByVal level As Integer, <System.Runtime.InteropServices.Out()> ByRef bufptr As IntPtr, ByVal prefmaxlen As Integer, <System.Runtime.InteropServices.Out()> ByRef entriesread As Integer, <System.Runtime.InteropServices.Out()> ByRef totalentries As Integer, ByRef resume_handle As Integer) As Integer If you want to find the user logged in to the workstation, consider instead a WMI query ("select UserName from Win32_ComputerSystem"), which has certain advantages (runs faster, less ambigious results, doesn't require Interop if using .Net 2.0 System.Management namespace, etc.)
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] Enums40: CLSCTX 41: COINIT
using System.Runtime.InteropServices;
using System.Runtime.InteropServices;
ModesPruned = 0x8000000,
ModesPruned = &H8000000 44: HRESULT
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential,Pack=4)]
return System.Runtime.InteropServices.Marshal.GetExceptionForHR(hr);
///The class is configured to run as a security id different from the caller
[Description("The class is configured to run as a security id different from the caller")]
///A RunAs specification must be <domain name>\<user name> or simply <user name>
[Description("A RunAs specification must be <domain name>\\<user name> or simply <user name>")]
public const int CO_E_RUNAS_SYNTAX = unchecked((int)0x80004017);
public const int CO_E_RUNAS_CREATEPROCESS_FAILURE = unchecked((int)0x80004019);
public const int CO_E_RUNAS_LOGON_FAILURE = unchecked((int)0x8000401A);
///The common language runtime is not available
[Description("The common language runtime is not available")]
///Need to run the object to perform this operation
[Description("Need to run the object to perform this operation")]
public const int OLE_E_NOTRUNNING = unchecked((int)0x80040005);
///Application cannot be run more than once
[Description("Application cannot be run more than once")]
///Message is too long; some of it had to be truncated before displaying
[Description("Message is too long; some of it had to be truncated before displaying")]
public const int INPLACE_S_TRUNCATED = unchecked((int)0x000401A0);
///Moniker is already registered in running object table
[Description("Moniker is already registered in running object table")]
///The task is ready to run at its next scheduled time.
[Description("The task is ready to run at its next scheduled time.")]
///The task is currently running.
[Description("The task is currently running.")]
public const int SCHED_S_TASK_RUNNING = unchecked((int)0x00041301);
///The task will not run at the scheduled times because it has been disabled.
[Description("The task will not run at the scheduled times because it has been disabled.")]
///The task has not yet run.
[Description("The task has not yet run.")]
public const int SCHED_S_TASK_HAS_NOT_RUN = unchecked((int)0x00041303);
///There are no more runs scheduled for this task.
[Description("There are no more runs scheduled for this task.")]
public const int SCHED_S_TASK_NO_MORE_RUNS = unchecked((int)0x00041304);
///One or more of the properties that are needed to run this task on a schedule have not been set.
[Description("One or more of the properties that are needed to run this task on a schedule have not been set.")]
///The last run of the task was terminated by the user.
[Description("The last run of the task was terminated by the user.")]
///Event triggers don't have set run times.
[Description("Event triggers don't have set run times.")]
///One or more of the properties that are needed to run this task have not been set.
[Description("One or more of the properties that are needed to run this task have not been set.")]
///There is no running instance of the task to terminate.
[Description("There is no running instance of the task to terminate.")]
public const int SCHED_E_TASK_NOT_RUNNING = unchecked((int)0x8004130B);
///The task has been configured with an unsupported combination of account settings and run time options.
[Description("The task has been configured with an unsupported combination of account settings and run time options.")]
///The Task Scheduler Service is not running.
[Description("The Task Scheduler Service is not running.")]
public const int SCHED_E_SERVICE_NOT_RUNNING = unchecked((int)0x80041315);
// See asn1code.h for a definition of the OSS runtime errors. The OSS
///OSS ASN.1 Error: Output buffer is too small, the decoded data has been truncated.
[Description("OSS ASN.1 Error: Output buffer is too small, the decoded data has been truncated.")]
///The Smart card resource manager is not running.
[Description("The Smart card resource manager is not running.")]
///The COM+ registry database is already running
[Description("The COM+ registry database is already running")]
public const int COMADMIN_E_REGDB_ALREADYRUNNING = unchecked((int)0x80110475);
///The specified application is not currently running
[Description("The specified application is not currently running")]
public const int COMADMIN_E_APP_NOT_RUNNING = unchecked((int)0x8011080A);
///COM+ applications that run as NT service may not be pooled or recycled
[Description("COM+ applications that run as NT service may not be pooled or recycled")]
///Applications running as NT services may not be recycled.
[Description("Applications running as NT services may not be recycled.")]
<System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack := 4)> _
Return System.Runtime.InteropServices.Marshal.GetExceptionForHR(hr)
'''The class is configured to run as a security id different from the caller
<Description("The class is configured to run as a security id different from the caller")> _
'''A RunAs specification must be <domain name>\<user name> or simply <user name>
<Description("A RunAs specification must be <domain name>\<user name> or simply <user name>")> _
Public Const CO_E_RUNAS_SYNTAX As Integer = CInt(&H80004017UI)
Public Const CO_E_RUNAS_CREATEPROCESS_FAILURE As Integer = CInt(&H80004019UI)
Public Const CO_E_RUNAS_LOGON_FAILURE As Integer = CInt(&H8000401aUI)
'''The common language runtime is not available
<Description("The common language runtime is not available")> _
'''Need to run the object to perform this operation
<Description("Need to run the object to perform this operation")> _
Public Const OLE_E_NOTRUNNING As Integer = CInt(&H80040005UI)
'''Application cannot be run more than once
<Description("Application cannot be run more than once")> _
'''Message is too long; some of it had to be truncated before displaying
<Description("Message is too long; some of it had to be truncated before displaying")> _
Public Const INPLACE_S_TRUNCATED As Integer = CInt(&H401a0)
'''Moniker is already registered in running object table
<Description("Moniker is already registered in running object table")> _
'''The task is ready to run at its next scheduled time.
<Description("The task is ready to run at its next scheduled time.")> _
'''The task is currently running.
<Description("The task is currently running.")> _
Public Const SCHED_S_TASK_RUNNING As Integer = CInt(&H41301)
'''The task will not run at the scheduled times because it has been disabled.
<Description("The task will not run at the scheduled times because it has been disabled.")> _
'''The task has not yet run.
<Description("The task has not yet run.")> _
Public Const SCHED_S_TASK_HAS_NOT_RUN As Integer = CInt(&H41303)
'''There are no more runs scheduled for this task.
<Description("There are no more runs scheduled for this task.")> _
Public Const SCHED_S_TASK_NO_MORE_RUNS As Integer = CInt(&H41304)
'''One or more of the properties that are needed to run this task on a schedule have not been set.
<Description("One or more of the properties that are needed to run this task on a schedule have not been set.")> _
'''The last run of the task was terminated by the user.
<Description("The last run of the task was terminated by the user.")> _
'''Event triggers don't have set run times.
<Description("Event triggers don't have set run times.")> _
'''One or more of the properties that are needed to run this task have not been set.
<Description("One or more of the properties that are needed to run this task have not been set.")> _
'''There is no running instance of the task to terminate.
<Description("There is no running instance of the task to terminate.")> _
Public Const SCHED_E_TASK_NOT_RUNNING As Integer = CInt(&H8004130bUI)
'''The task has been configured with an unsupported combination of account settings and run time options.
<Description("The task has been configured with an unsupported combination of account settings and run time options.")> _
'''The Task Scheduler Service is not running.
<Description("The Task Scheduler Service is not running.")> _
Public Const SCHED_E_SERVICE_NOT_RUNNING As Integer = CInt(&H80041315UI)
' See asn1code.h for a definition of the OSS runtime errors. The OSS
'''OSS ASN.1 Error: Output buffer is too small, the decoded data has been truncated.
<Description("OSS ASN.1 Error: Output buffer is too small, the decoded data has been truncated.")> _
'''The Smart card resource manager is not running.
<Description("The Smart card resource manager is not running.")> _
'''The COM+ registry database is already running
<Description("The COM+ registry database is already running")> _
Public Const COMADMIN_E_REGDB_ALREADYRUNNING As Integer = CInt(&H80110475UI)
'''The specified application is not currently running
<Description("The specified application is not currently running")> _
Public Const COMADMIN_E_APP_NOT_RUNNING As Integer = CInt(&H8011080aUI)
'''COM+ applications that run as NT service may not be pooled or recycled
<Description("COM+ applications that run as NT service may not be pooled or recycled")> _
'''Applications running as NT services may not be recycled.
<Description("Applications running as NT services may not be recycled.")> _ 45: INSTALLSTATE
INSTALLSTATE_SOURCEABSENT = -4, // run from source, source is unavailable
INSTALLSTATE_SOURCE = 4, // run from source, CD or net
''' Run from source, source is unavailable.
''' Run from source, CD or net. 46: NtStatus
DataOverrun = 0xc000003c, 47: OpenFile
OF_CREATE = 0x00001000, // Creates a new file. If file exists, it is truncated to zero (0) length. 48: RasError
/// <summary>664. The system has run out of memory. </summary>
/// <summary>710. Serial overrun errors were detected while communicating with the modem. </summary>
ERROR_OVERRUN,
/// <summary>827. The L2TP/IPsec connection cannot be completed because the IKE and AuthIP IPSec Keying Modules service and/or the Base Filtering Engine service is not running. These services are required to establish an L2TP/IPSec connection. </summary> 49: RM_APP_STATUS
/// Application is currently running.
RmStatusRunning = 0x1, 50: RM_REBOOT_REASON
/// One or more processes are running in another TS session. 51: SBSP
SBSP_CALLERUNTRUSTED = 0x00800000, 52: SC_ACTION_TYPE
Run_Command = 3
Run_Command = 3 53: ShutdownReason
MinorUnstable = 0x00000006,
MinorUnstable = &H6 54: STARTF
STARTF_RUNFULLSCREEN = 0x00000020, // ignored for non-x86 platforms
STARTF_RUNFULLSCREEN = &H20 55: SystemMetric
/// input supported by a device running Windows 7 or Windows Server 2008 R2. For more information, see Remarks. 56: UI_FontDeltaSize 57: VARENUM You should use System.Runtime.InteropServices.VarEnum instead. 58: WindowsMessages
using System.Runtime.InteropServices;
Application.Run(new Form1()); 59: WTSINFO
/// A null-terminated string that contains the name of the initial program that Remote Desktop Services runs when the user logs on.
/// A null-terminated string that contains the published name of the application that the session is running. cards60: CardsWrappe
using System.Runtime.InteropServices; Cut off search results after 60. Please refine your search. |